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:
6006799
)
madwifi: only set the desired mode for the first vap
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 29 Mar 2009 00:10:31 +0000
(
00:10
+0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 29 Mar 2009 00:10:31 +0000
(
00:10
+0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15059
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
package/madwifi/files/lib/wifi/madwifi.sh
patch
|
blob
|
history
diff --git
a/package/madwifi/files/lib/wifi/madwifi.sh
b/package/madwifi/files/lib/wifi/madwifi.sh
index
3c4112a
..
0124285
100755
(executable)
--- a/
package/madwifi/files/lib/wifi/madwifi.sh
+++ b/
package/madwifi/files/lib/wifi/madwifi.sh
@@
-120,10
+120,10
@@
enable_atheros() {
*fh) hwmode=fh;;
*) hwmode=auto;;
esac
- iwpriv "$ifname" mode "$hwmode"
iwpriv "$ifname" pureg "$pureg"
[ "$first" = 1 ] && {
+ iwpriv "$ifname" mode "$hwmode"
iwconfig "$ifname" channel "$channel" >/dev/null 2>/dev/null
}