make wificonf set wl0_ifname on startup

SVN-Revision: 1858
owl
Felix Fietkau 2005-09-05 20:19:57 +00:00
parent cf8d702e85
commit 79c653e410
1 changed files with 2 additions and 0 deletions

View File

@ -176,6 +176,8 @@ void setup_bcom(int skfd, char *ifname)
if (bcom_ioctl(skfd, ifname, WLC_GET_MAGIC, &val, sizeof(val)) < 0) if (bcom_ioctl(skfd, ifname, WLC_GET_MAGIC, &val, sizeof(val)) < 0)
return; return;
nvram_set(wl_var("ifname"), ifname);
stop_bcom(skfd, ifname); stop_bcom(skfd, ifname);
/* Set Country */ /* Set Country */