summaryrefslogtreecommitdiff
path: root/openwrt/package/wificonf/wificonf.c
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/wificonf/wificonf.c')
-rw-r--r--openwrt/package/wificonf/wificonf.c2
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 */