diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-01-15 02:55:29 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-01-15 02:55:29 +0000 |
commit | b8ef6702020b8a3c748a2d888b0e66445ba4b851 (patch) | |
tree | abe216b4af50a5427473f632b2e840bf8b1e380e /package/mac80211/files | |
parent | aa2ebbf15ec066d55104c7223d042c31d0ccc3bc (diff) | |
download | mtk-20170518-b8ef6702020b8a3c748a2d888b0e66445ba4b851.zip mtk-20170518-b8ef6702020b8a3c748a2d888b0e66445ba4b851.tar.gz mtk-20170518-b8ef6702020b8a3c748a2d888b0e66445ba4b851.tar.bz2 |
mac80211: fix ht capability detection (thx, stintel)
SVN-Revision: 19144
Diffstat (limited to 'package/mac80211/files')
-rw-r--r-- | package/mac80211/files/lib/wifi/mac80211.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh index 942a635..82ff958 100644 --- a/package/mac80211/files/lib/wifi/mac80211.sh +++ b/package/mac80211/files/lib/wifi/mac80211.sh @@ -317,7 +317,7 @@ detect_mac80211() { mode_band="g" channel="5" ht_cap=0 - for cap in $(iw phy "$dev" info | grep 'HT capabilities' | cut -d: -f2); do + for cap in $(iw phy "$dev" info | grep 'Capabilities:' | cut -d: -f2); do ht_cap="$(($ht_cap | $cap))" done ht_capab=""; |