projects
/
openwrt
/
staging
/
ansuel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa2ebbf
)
mac80211: fix ht capability detection (thx, stintel)
author
Felix Fietkau
<nbd@openwrt.org>
Fri, 15 Jan 2010 02:55:29 +0000
(
02:55
+0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Fri, 15 Jan 2010 02:55:29 +0000
(
02:55
+0000)
SVN-Revision: 19144
package/mac80211/files/lib/wifi/mac80211.sh
patch
|
blob
|
history
diff --git
a/package/mac80211/files/lib/wifi/mac80211.sh
b/package/mac80211/files/lib/wifi/mac80211.sh
index 942a635f78d5904b9f6d9819dcea9f307f7544b4..82ff95822293220e1e2016d178bb6cf107028a83 100644
(file)
--- 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="";