|
@@ -894,7 +894,7 @@ drv_mac80211_setup() {
|
|
|
staidx=0
|
|
staidx=0
|
|
|
|
|
|
|
|
[ -n "$chanbw" ] && {
|
|
[ -n "$chanbw" ] && {
|
|
|
- for file in /sys/kernel/debug/ieee80211/$phy/ath9k/chanbw /sys/kernel/debug/ieee80211/$phy/ath5k/bwmode; do
|
|
|
|
|
|
|
+ for file in /sys/kernel/debug/ieee80211/$phy/ath9k*/chanbw /sys/kernel/debug/ieee80211/$phy/ath5k/bwmode; do
|
|
|
[ -f "$file" ] && echo "$chanbw" > "$file"
|
|
[ -f "$file" ] && echo "$chanbw" > "$file"
|
|
|
done
|
|
done
|
|
|
}
|
|
}
|