aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/hostapd/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-04-04 17:51:46 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-04-04 17:51:46 +0000
commitfe8d9f59dac17a8b7379c848131cb59ab14de6b7 (patch)
tree674457351c16b9d7ea86bb7b9b98c8704134f06c /package/network/services/hostapd/patches
parent0b44b593a78e39b2843c80a1a2d58670a0d5e76f (diff)
downloadupstream-fe8d9f59dac17a8b7379c848131cb59ab14de6b7.tar.gz
upstream-fe8d9f59dac17a8b7379c848131cb59ab14de6b7.tar.bz2
upstream-fe8d9f59dac17a8b7379c848131cb59ab14de6b7.zip
hostapd: when running AP+STA, preserve the AP 802.11n-enabled setting
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45270
Diffstat (limited to 'package/network/services/hostapd/patches')
-rw-r--r--package/network/services/hostapd/patches/370-ap_sta_support.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/services/hostapd/patches/370-ap_sta_support.patch b/package/network/services/hostapd/patches/370-ap_sta_support.patch
index 92a5fddad7..cf13a96f0c 100644
--- a/package/network/services/hostapd/patches/370-ap_sta_support.patch
+++ b/package/network/services/hostapd/patches/370-ap_sta_support.patch
@@ -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;
+