mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-10 23:12:48 +00:00
make wificonf set wl0_ifname on startup
SVN-Revision: 1858
This commit is contained in:
parent
cf8d702e85
commit
79c653e410
@ -176,6 +176,8 @@ void setup_bcom(int skfd, char *ifname)
|
|||||||
if (bcom_ioctl(skfd, ifname, WLC_GET_MAGIC, &val, sizeof(val)) < 0)
|
if (bcom_ioctl(skfd, ifname, WLC_GET_MAGIC, &val, sizeof(val)) < 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
nvram_set(wl_var("ifname"), ifname);
|
||||||
|
|
||||||
stop_bcom(skfd, ifname);
|
stop_bcom(skfd, ifname);
|
||||||
|
|
||||||
/* Set Country */
|
/* Set Country */
|
||||||
|
Loading…
Reference in New Issue
Block a user