make wificonf set wl0_ifname on startup
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 5 Sep 2005 20:19:57 +0000 (20:19 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 5 Sep 2005 20:19:57 +0000 (20:19 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1858 3c298f89-4303-0410-b956-a3cf2f4a3e73

openwrt/package/wificonf/wificonf.c

index b76f697..61e0910 100644 (file)
@@ -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 */
This page took 0.025127 seconds and 4 git commands to generate.