From 2af1cd58ef0a6fdc8c18e0bbced592004b91faf9 Mon Sep 17 00:00:00 2001 From: nbd Date: Wed, 27 Oct 2010 15:17:09 +0000 Subject: hostapd: do not restrict ht capabilities for ap+sta git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23674 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/hostapd/patches/453-ap_sta_support.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'package/hostapd') diff --git a/package/hostapd/patches/453-ap_sta_support.patch b/package/hostapd/patches/453-ap_sta_support.patch index 68f0e44e7..930981dd3 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; + } + -- cgit v1.2.3