diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-09-05 20:19:57 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-09-05 20:19:57 +0000 |
commit | ab75e020b26e2d66a8a8e08ce2a789d67c968a1c (patch) | |
tree | c14a571f95bce883f9165851895fe97765409063 /openwrt/package/wificonf | |
parent | 0e4bb21064053e0e90fe60e1a1710da7d5323df8 (diff) |
make wificonf set wl0_ifname on startup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1858 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/wificonf')
-rw-r--r-- | openwrt/package/wificonf/wificonf.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 */ |