aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/files
diff options
context:
space:
mode:
authorTomislav Požega <pozega.tomislav@gmail.com>2018-09-06 16:20:13 +0200
committerPetr Štetiar <ynezz@true.cz>2020-02-13 17:45:46 +0100
commitcd5dbba9056faf5224561a82e7dec11ce2dbc8cd (patch)
treebfe4cffd66069941f14cfc8f0d67b8cd10fc0620 /package/kernel/mac80211/files
parent18622638831707038556b9b8bd5a0b4d4a53ce53 (diff)
downloadupstream-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/files')
-rw-r--r--package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh2
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
}