diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-05-06 15:43:08 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-05-06 15:43:08 +0000 |
commit | 1778f08dea604aa5865d18944bd43554717936b0 (patch) | |
tree | e9a058153a22f7714a9141aa6d9f37e87bc5e881 | |
parent | 362c72773589d99715e465676c52c6cf82518589 (diff) | |
download | master-187ad058-1778f08dea604aa5865d18944bd43554717936b0.tar.gz master-187ad058-1778f08dea604aa5865d18944bd43554717936b0.tar.bz2 master-187ad058-1778f08dea604aa5865d18944bd43554717936b0.zip |
mac80211: reset ht_capab for each device
... or else "option htmode" is added multiple times to
the second and following device sections.
Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40711 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/kernel/mac80211/files/lib/wifi/mac80211.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/kernel/mac80211/files/lib/wifi/mac80211.sh b/package/kernel/mac80211/files/lib/wifi/mac80211.sh index dc3c9037d7..5d3adb1511 100644 --- 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"; } |