From: Felix Fietkau Date: Mon, 5 Sep 2005 20:19:46 +0000 (+0000) Subject: make wificonf set wl0_ifname on startup X-Git-Tag: whiterussian_rc4~203 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=892c0bdb5bc57119f4ac7a5295ea6cd31117ccb2;p=openwrt%2Fsvn-archive%2Fopenwrt.git make wificonf set wl0_ifname on startup SVN-Revision: 1857 --- diff --git a/openwrt/package/wificonf/wificonf.c b/openwrt/package/wificonf/wificonf.c index b76f697b84..61e0910f62 100644 --- a/openwrt/package/wificonf/wificonf.c +++ b/openwrt/package/wificonf/wificonf.c @@ -176,6 +176,8 @@ void setup_bcom(int skfd, char *ifname) if (bcom_ioctl(skfd, ifname, WLC_GET_MAGIC, &val, sizeof(val)) < 0) return; + nvram_set(wl_var("ifname"), ifname); + stop_bcom(skfd, ifname); /* Set Country */