mirror of https://github.com/hak5/openwrt.git
hostapd: when running AP+STA, preserve the AP 802.11n-enabled setting
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45270lede-17.01
parent
0b44b593a7
commit
fe8d9f59da
|
@ -84,7 +84,7 @@
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
+ hw_mode = ieee80211_freq_to_chan(bss->freq, &channel);
|
+ hw_mode = ieee80211_freq_to_chan(bss->freq, &channel);
|
||||||
+ if (asprintf(&cmd, "UPDATE channel=%d sec_chan=%d hw_mode=%d ieee80211n=%d",
|
+ if (asprintf(&cmd, "UPDATE channel=%d sec_chan=%d hw_mode=%d",
|
||||||
+ channel, sec_chan, hw_mode, !!bss->ht_capab) < 0)
|
+ channel, sec_chan, hw_mode, !!bss->ht_capab) < 0)
|
||||||
+ return -1;
|
+ return -1;
|
||||||
+
|
+
|
||||||
|
|
Loading…
Reference in New Issue