From 385b08d475a957f0fb75eaafbf81ee29453c0fb3 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 18 May 2014 21:13:03 +0000 Subject: [PATCH] mac80211: fix ht capabilities for HT20 Signed-off-by: Felix Fietkau SVN-Revision: 40776 --- package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh index 751fd32933..e26d9dde98 100644 --- a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh +++ b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh @@ -148,7 +148,8 @@ mac80211_hostapd_setup_base() { RX-STBC123:0x300:0x300:1 \ DSSS_CCK-40:0x1000::$dsss_cck_40 - [ -n "$ht_capab" ] && append base_cfg "ht_capab=$ht_capab$ht_capab_flags" "$N" + ht_capab="$ht_capab$ht_capab_flags" + [ -n "$ht_capab" ] && append base_cfg "ht_capab=$ht_capab" "$N" } # 802.11ac -- 2.30.2