From: Felix Fietkau Date: Wed, 27 Oct 2010 15:17:09 +0000 (+0000) Subject: hostapd: do not restrict ht capabilities for ap+sta X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c1d125fb333821512eda371018abc86525e9a1b3;p=openwrt%2Fstaging%2Fnbd.git hostapd: do not restrict ht capabilities for ap+sta SVN-Revision: 23674 --- 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; + } +