diff options
author | Felix Fietkau <nbd@openwrt.org> | 2005-09-05 20:19:57 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2005-09-05 20:19:57 +0000 |
commit | 79c653e410d782f5173c6e0557cb47a3e61b32b3 (patch) | |
tree | c14a571f95bce883f9165851895fe97765409063 /openwrt | |
parent | cf8d702e85f0787978f1647ef83852981d79f1b1 (diff) | |
download | mtk-20170518-79c653e410d782f5173c6e0557cb47a3e61b32b3.zip mtk-20170518-79c653e410d782f5173c6e0557cb47a3e61b32b3.tar.gz mtk-20170518-79c653e410d782f5173c6e0557cb47a3e61b32b3.tar.bz2 |
make wificonf set wl0_ifname on startup
SVN-Revision: 1858
Diffstat (limited to 'openwrt')
-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 b76f697..61e0910 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 */ |