mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-25 07:48:58 +02:00
mac80211: fix ht capability detection (thx, stintel)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19144 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
c8e6838a62
commit
57f7e19c58
@ -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="";
|
||||
|
Loading…
Reference in New Issue
Block a user