aboutsummaryrefslogtreecommitdiffstats
path: root/package/hostapd/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-10-27 15:17:09 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-10-27 15:17:09 +0000
commitc1d125fb333821512eda371018abc86525e9a1b3 (patch)
tree20f971a95b4307e0698f98a9d3f9ab66edbd09ea /package/hostapd/patches
parent3e7589ce1a6d3a6e9e43ce5b1dd5e058a32ec646 (diff)
downloadupstream-c1d125fb333821512eda371018abc86525e9a1b3.tar.gz
upstream-c1d125fb333821512eda371018abc86525e9a1b3.tar.bz2
upstream-c1d125fb333821512eda371018abc86525e9a1b3.zip
hostapd: do not restrict ht capabilities for ap+sta
SVN-Revision: 23674
Diffstat (limited to 'package/hostapd/patches')
-rw-r--r--package/hostapd/patches/453-ap_sta_support.patch4
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;
+ }
+