aboutsummaryrefslogtreecommitdiffstats
path: root/package/wificonf
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-09-05 20:19:57 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-09-05 20:19:57 +0000
commit0e0cccbed313d51a6a0af0e5a4e913585cfbbd5e (patch)
tree6c88fdd646b26f92aa7297194eff2db9cf67083e /package/wificonf
parent92bfbc045756cba50bd4aadead68120fb3abe6df (diff)
downloadupstream-0e0cccbed313d51a6a0af0e5a4e913585cfbbd5e.tar.gz
upstream-0e0cccbed313d51a6a0af0e5a4e913585cfbbd5e.tar.bz2
upstream-0e0cccbed313d51a6a0af0e5a4e913585cfbbd5e.zip
make wificonf set wl0_ifname on startup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1858 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/wificonf')
-rw-r--r--package/wificonf/wificonf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/wificonf/wificonf.c b/package/wificonf/wificonf.c
index b76f697b84..61e0910f62 100644
--- a/package/wificonf/wificonf.c
+++ b/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 */