From 0e0cccbed313d51a6a0af0e5a4e913585cfbbd5e Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 5 Sep 2005 20:19:57 +0000 Subject: make wificonf set wl0_ifname on startup git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1858 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/wificonf/wificonf.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'package/wificonf') 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 */ -- cgit v1.2.3