index
:
openwrt.git
OpenWrt Source Repository
log msg
author
committer
range
feature/odhcpd_odhcp6c_udhcpc-capsdrop
linksys3200ac-master
master
about
summary
refs
log
tree
commit
diff
path:
root
/
package
/
mac80211
/
files
/
lib
/
wifi
/
mac80211.sh
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'package/mac80211/files/lib/wifi/mac80211.sh')
-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 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="";