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
This commit is contained in:
parent
3b2643c92c
commit
1268274b5d
1 changed files with 1 additions and 0 deletions
|
@ -69,6 +69,7 @@ detect_mac80211() {
|
||||||
mode_band="g"
|
mode_band="g"
|
||||||
channel="11"
|
channel="11"
|
||||||
htmode=""
|
htmode=""
|
||||||
|
ht_capab=""
|
||||||
|
|
||||||
iw phy "$dev" info | grep -q 'Capabilities:' && htmode=HT20
|
iw phy "$dev" info | grep -q 'Capabilities:' && htmode=HT20
|
||||||
iw phy "$dev" info | grep -q '2412 MHz' || { mode_band="a"; channel="36"; }
|
iw phy "$dev" info | grep -q '2412 MHz' || { mode_band="a"; channel="36"; }
|
||||||
|
|
Loading…
Reference in a new issue