projects
/
15.05
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7d5efa
)
add wificonf fix from whiterussian
author
Felix Fietkau
<nbd@openwrt.org>
Sat, 13 Aug 2005 21:22:49 +0000
(21:22 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sat, 13 Aug 2005 21:22:49 +0000
(21:22 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1646
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
openwrt/package/wificonf/wificonf.c
patch
|
blob
|
history
diff --git
a/openwrt/package/wificonf/wificonf.c
b/openwrt/package/wificonf/wificonf.c
index
abf5230
..
b76f697
100644
(file)
--- a/
openwrt/package/wificonf/wificonf.c
+++ b/
openwrt/package/wificonf/wificonf.c
@@
-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)
return 0;
- stop_bcom(skfd, ifname);
- set_wext_mode(skfd, ifname);
- setup_bcom(skfd, ifname);
- setup_wext(skfd, ifname);
+ if (strncmp(ifname, "ath", 3) == 0) {
+ set_wext_mode(skfd, ifname);
+ setup_wext(skfd, ifname);
+ } else {
+ stop_bcom(skfd, ifname);
+ set_wext_mode(skfd, ifname);
+ setup_bcom(skfd, ifname);
+ setup_wext(skfd, ifname);
+ }
prefix[2]++;
}