From: Felix Fietkau Date: Fri, 15 Jan 2010 02:55:29 +0000 (+0000) Subject: mac80211: fix ht capability detection (thx, stintel) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b8ef6702020b8a3c748a2d888b0e66445ba4b851;p=openwrt%2Fstaging%2Fnbd.git mac80211: fix ht capability detection (thx, stintel) SVN-Revision: 19144 --- 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="";