X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/183c4345af15d6cf8e60ba079a1da9108294ffe2..371ef4e9f9c8ee190fcaee7ed29f87ca965b723e:/package/wificonf/wificonf.c diff --git a/package/wificonf/wificonf.c b/package/wificonf/wificonf.c index b76f697b8..61e0910f6 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 */