mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
make wificonf set wl0_ifname on startup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1858 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
92bfbc0457
commit
0e0cccbed3
@ -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 */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user