projects
/
openwrt
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9452ad7
)
mac80211: make channel bandwidth setting generic
author
Travis Kemen
<thepeople@openwrt.org>
Wed, 4 Jul 2012 00:25:46 +0000
(
00:25
+0000)
committer
Travis Kemen
<thepeople@openwrt.org>
Wed, 4 Jul 2012 00:25:46 +0000
(
00:25
+0000)
SVN-Revision: 32596
package/mac80211/files/lib/wifi/mac80211.sh
patch
|
blob
|
history
diff --git
a/package/mac80211/files/lib/wifi/mac80211.sh
b/package/mac80211/files/lib/wifi/mac80211.sh
index 8bb9c42675f2111859e4fdd6186294fe4aedb17f..6b907b6a2fc2b1aea1e7df49eccd7e089f78a327 100644
(file)
--- a/
package/mac80211/files/lib/wifi/mac80211.sh
+++ b/
package/mac80211/files/lib/wifi/mac80211.sh
@@
-312,8
+312,9
@@
enable_mac80211() {
}
}
}
}
- config_get ath9k_chanbw "$device" ath9k_chanbw
- [ -n "$ath9k_chanbw" -a -d /sys/kernel/debug/ieee80211/$phy/ath9k ] && echo "$ath9k_chanbw" > /sys/kernel/debug/ieee80211/$phy/ath9k/chanbw
+ config_get chanbw "$device" chanbw
+ [ -n "$chanbw" -a -d /sys/kernel/debug/ieee80211/$phy/ath9k ] && echo "$chanbw" > /sys/kernel/debug/ieee80211/$phy/ath9k/chanbw
+ [ -n "$chanbw" -a -d /sys/kernel/debug/ieee80211/$phy/ath5k ] && echo "$chanbw" > /sys/kernel/debug/ieee80211/$phy/ath5k/bwmode
[ "$channel" = "auto" -o "$channel" = "0" ] || {
fixed=1
[ "$channel" = "auto" -o "$channel" = "0" ] || {
fixed=1