aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-05-18 21:13:03 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-05-18 21:13:03 +0000
commit9baf77b88d1bd460c13451923a091b7caf420948 (patch)
tree2ab24e2a590c84312891b6859d22c68a6e8b3b6d
parent01741016afb444cef07dce3617ce464142b62857 (diff)
downloadupstream-9baf77b88d1bd460c13451923a091b7caf420948.tar.gz
upstream-9baf77b88d1bd460c13451923a091b7caf420948.tar.bz2
upstream-9baf77b88d1bd460c13451923a091b7caf420948.zip
mac80211: fix ht capabilities for HT20
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40776 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh3
1 files changed, 2 insertions, 1 deletions
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