mac80211: make channel bandwidth setting generic
SVN-Revision: 32596
This commit is contained in:
parent
9452ad74bb
commit
62d9f257a1
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue