mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-01 21:59:42 +02:00
make wificonf set wl0_ifname on startup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1858 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
0e4bb21064
commit
ab75e020b2
@ -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