diff options
author | Tomislav Požega <pozega.tomislav@gmail.com> | 2018-09-06 16:20:13 +0200 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2020-02-13 17:45:46 +0100 |
commit | cd5dbba9056faf5224561a82e7dec11ce2dbc8cd (patch) | |
tree | bfe4cffd66069941f14cfc8f0d67b8cd10fc0620 /package/kernel/mac80211 | |
parent | 18622638831707038556b9b8bd5a0b4d4a53ce53 (diff) | |
download | upstream-cd5dbba9056faf5224561a82e7dec11ce2dbc8cd.tar.gz upstream-cd5dbba9056faf5224561a82e7dec11ce2dbc8cd.tar.bz2 upstream-cd5dbba9056faf5224561a82e7dec11ce2dbc8cd.zip |
mac80211: expose chanbw support to debugfs for ath9k_htc
This will ensure the htc suffixed driver also gets created
chanbw debugfs entry.
Signed-off-by: Tomislav Požega <pozega.tomislav@gmail.com>
Diffstat (limited to 'package/kernel/mac80211')
-rw-r--r-- | package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh index d6f460b932..ac9984ef22 100644 --- a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh +++ b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh @@ -894,7 +894,7 @@ drv_mac80211_setup() { staidx=0 [ -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" done } |