diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-10-27 15:17:09 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-10-27 15:17:09 +0000 |
commit | da44354c6a3eddb610c6cc438eabb45edbe8afcc (patch) | |
tree | 13c85f68ad63a8adb82caf92355a7e96ac6390f3 | |
parent | 6b9d594eea83df46ac5a2763458a93e9953332e1 (diff) | |
download | upstream-da44354c6a3eddb610c6cc438eabb45edbe8afcc.tar.gz upstream-da44354c6a3eddb610c6cc438eabb45edbe8afcc.tar.bz2 upstream-da44354c6a3eddb610c6cc438eabb45edbe8afcc.zip |
hostapd: do not restrict ht capabilities for ap+sta
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23674 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/hostapd/patches/453-ap_sta_support.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/hostapd/patches/453-ap_sta_support.patch b/package/hostapd/patches/453-ap_sta_support.patch index 68f0e44e71..930981dd38 100644 --- a/package/hostapd/patches/453-ap_sta_support.patch +++ b/package/hostapd/patches/453-ap_sta_support.patch @@ -71,8 +71,8 @@ + channel = (bss->freq - 5000) / 5; + } + -+ if (asprintf(&cmd, "RELOAD channel=%d sec_chan=0 hw_mode=%d ht_capab_mask=%d ieee80211n=%d", -+ channel, hw_mode, bss->ht_capab, !!bss->ht_capab) < 0) { ++ if (asprintf(&cmd, "RELOAD channel=%d sec_chan=0 hw_mode=%d ieee80211n=%d", ++ channel, hw_mode, !!bss->ht_capab) < 0) { + return -1; + } + |