mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-15 03:14:50 +00:00
mac80211: fix ht capability detection (thx, stintel)
SVN-Revision: 19144
This commit is contained in:
parent
aa2ebbf15e
commit
b8ef670202
@ -317,7 +317,7 @@ detect_mac80211() {
|
|||||||
mode_band="g"
|
mode_band="g"
|
||||||
channel="5"
|
channel="5"
|
||||||
ht_cap=0
|
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))"
|
ht_cap="$(($ht_cap | $cap))"
|
||||||
done
|
done
|
||||||
ht_capab="";
|
ht_capab="";
|
||||||
|
Loading…
Reference in New Issue
Block a user