projects
/
openwrt
/
staging
/
rmilecki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4db9556
)
fix madwifi channel setting (#2073)
author
Felix Fietkau
<nbd@openwrt.org>
Fri, 7 Sep 2007 20:42:59 +0000
(20:42 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Fri, 7 Sep 2007 20:42:59 +0000
(20:42 +0000)
SVN-Revision: 8681
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 2a86e919056e9b21ee5444e7a0a5355036833773..91986155381553f2869ef72be4f3fc0d19f03c2c 100755
(executable)
--- a/
package/madwifi/files/lib/wifi/madwifi.sh
+++ b/
package/madwifi/files/lib/wifi/madwifi.sh
@@
-103,7
+103,7
@@
enable_atheros() {
*a) agmode=11a;;
*) agmode=auto;;
esac
- iwconfig "$ifname" channel
0
>/dev/null 2>/dev/null
+ iwconfig "$ifname" channel
"$channel"
>/dev/null 2>/dev/null
ifconfig "$ifname" up
sleep 1
iwpriv "$ifname" mode "$agmode"