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 | 1268274b5d53304037879eee8d5a491f0b4fc56e (patch) | |
tree | 73f9ce3c0c2872e26aab748a682d52f1b384460b /package/kernel/mac80211/files | |
parent | 3b2643c92c559b2c08ceed0d8250592f4c4fa84a (diff) | |
download | mtk-20170518-1268274b5d53304037879eee8d5a491f0b4fc56e.zip mtk-20170518-1268274b5d53304037879eee8d5a491f0b4fc56e.tar.gz mtk-20170518-1268274b5d53304037879eee8d5a491f0b4fc56e.tar.bz2 |
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>
SVN-Revision: 40711
Diffstat (limited to 'package/kernel/mac80211/files')
-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 dc3c903..5d3adb1 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"; } |