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 | c6b0a52389dbe5881a2678bd24475c62708ce5f8 (patch) | |
tree | 4574c8d210beadde919e7ac18261953a6e495100 /package/network/services | |
parent | 0d51f91df136edb77a67a99792f06e821e852941 (diff) | |
download | master-187ad058-c6b0a52389dbe5881a2678bd24475c62708ce5f8.tar.gz master-187ad058-c6b0a52389dbe5881a2678bd24475c62708ce5f8.tar.bz2 master-187ad058-c6b0a52389dbe5881a2678bd24475c62708ce5f8.zip |
hostapd: when running AP+STA, preserve the AP 802.11n-enabled setting
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45270 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/services')
-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; + |