mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-01 22:25:20 +02:00
add wificonf fix from whiterussian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1646 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
ab99e57335
commit
7a70a65ff1
@ -474,10 +474,15 @@ static int setup_interfaces(int skfd, char *ifname, char *args[], int count)
|
|||||||
if(iw_get_ext(skfd, ifname, SIOCGIWNAME, &wrq) < 0)
|
if(iw_get_ext(skfd, ifname, SIOCGIWNAME, &wrq) < 0)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
if (strncmp(ifname, "ath", 3) == 0) {
|
||||||
|
set_wext_mode(skfd, ifname);
|
||||||
|
setup_wext(skfd, ifname);
|
||||||
|
} else {
|
||||||
stop_bcom(skfd, ifname);
|
stop_bcom(skfd, ifname);
|
||||||
set_wext_mode(skfd, ifname);
|
set_wext_mode(skfd, ifname);
|
||||||
setup_bcom(skfd, ifname);
|
setup_bcom(skfd, ifname);
|
||||||
setup_wext(skfd, ifname);
|
setup_wext(skfd, ifname);
|
||||||
|
}
|
||||||
|
|
||||||
prefix[2]++;
|
prefix[2]++;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user