From 79c653e410d782f5173c6e0557cb47a3e61b32b3 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 5 Sep 2005 20:19:57 +0000 Subject: [PATCH] make wificonf set wl0_ifname on startup SVN-Revision: 1858 --- openwrt/package/wificonf/wificonf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openwrt/package/wificonf/wificonf.c b/openwrt/package/wificonf/wificonf.c index b76f697b84b..61e0910f623 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 */ -- 2.30.2