From: Felix Fietkau Date: Sat, 4 Apr 2015 17:51:46 +0000 (+0000) Subject: hostapd: when running AP+STA, preserve the AP 802.11n-enabled setting X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=fe8d9f59dac17a8b7379c848131cb59ab14de6b7;p=openwrt%2Fstaging%2Fyousong.git hostapd: when running AP+STA, preserve the AP 802.11n-enabled setting Signed-off-by: Felix Fietkau SVN-Revision: 45270 --- 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; +