Skip to content
Snippets Groups Projects
Commit fe8d9f59 authored by Felix Fietkau's avatar Felix Fietkau
Browse files

hostapd: when running AP+STA, preserve the AP 802.11n-enabled setting


Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>

SVN-Revision: 45270
parent 0b44b593
No related branches found
No related tags found
No related merge requests found
......@@ -84,7 +84,7 @@
+ }
+
+ 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)
+ return -1;
+
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment