diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-04-04 17:51:46 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-04-04 17:51:46 +0000 |
commit | fe8d9f59dac17a8b7379c848131cb59ab14de6b7 (patch) | |
tree | 674457351c16b9d7ea86bb7b9b98c8704134f06c /package | |
parent | 0b44b593a78e39b2843c80a1a2d58670a0d5e76f (diff) | |
download | upstream-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')
-rw-r--r-- | package/network/services/hostapd/patches/370-ap_sta_support.patch | 2 |
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; + |