projects
/
openwrt
/
staging
/
robimarko.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b2643c
)
mac80211: reset ht_capab for each device
author
Felix Fietkau
<nbd@openwrt.org>
Tue, 6 May 2014 15:43:08 +0000
(15:43 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Tue, 6 May 2014 15:43:08 +0000
(15:43 +0000)
... or else "option htmode" is added multiple times to
the second and following device sections.
Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>
SVN-Revision: 40711
package/kernel/mac80211/files/lib/wifi/mac80211.sh
patch
|
blob
|
history
diff --git
a/package/kernel/mac80211/files/lib/wifi/mac80211.sh
b/package/kernel/mac80211/files/lib/wifi/mac80211.sh
index dc3c9037d7eab396e45ce92b4e94a5babc789560..5d3adb1511d992223066169161b03511fee252ee 100644
(file)
--- a/
package/kernel/mac80211/files/lib/wifi/mac80211.sh
+++ b/
package/kernel/mac80211/files/lib/wifi/mac80211.sh
@@
-69,6
+69,7
@@
detect_mac80211() {
mode_band="g"
channel="11"
htmode=""
+ ht_capab=""
iw phy "$dev" info | grep -q 'Capabilities:' && htmode=HT20
iw phy "$dev" info | grep -q '2412 MHz' || { mode_band="a"; channel="36"; }