mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-04 03:17:29 +03:00
mac80211: make channel bandwidth setting generic
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32596 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
2b972426d7
commit
36f95026ed
@ -312,8 +312,9 @@ enable_mac80211() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
config_get ath9k_chanbw "$device" ath9k_chanbw
|
config_get chanbw "$device" chanbw
|
||||||
[ -n "$ath9k_chanbw" -a -d /sys/kernel/debug/ieee80211/$phy/ath9k ] && echo "$ath9k_chanbw" > /sys/kernel/debug/ieee80211/$phy/ath9k/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" ] || {
|
[ "$channel" = "auto" -o "$channel" = "0" ] || {
|
||||||
fixed=1
|
fixed=1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user