aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-01-15 02:55:29 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-01-15 02:55:29 +0000
commitdd2a82846259bbacba4f3ae1f26c989750dbfb23 (patch)
tree2583dad7b8d56f017eac20918986890da2275b52 /package/mac80211/files
parentfaf3bf42ed7c260f02670906c30872961a69954b (diff)
downloadupstream-dd2a82846259bbacba4f3ae1f26c989750dbfb23.tar.gz
upstream-dd2a82846259bbacba4f3ae1f26c989750dbfb23.tar.bz2
upstream-dd2a82846259bbacba4f3ae1f26c989750dbfb23.zip
mac80211: fix ht capability detection (thx, stintel)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19144 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/files')
-rw-r--r--package/mac80211/files/lib/wifi/mac80211.sh2
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 942a635f78..82ff958222 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="";