mac80211: fix ht capabilities for HT20
authorFelix Fietkau <nbd@openwrt.org>
Sun, 18 May 2014 21:13:03 +0000 (21:13 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 18 May 2014 21:13:03 +0000 (21:13 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40776

package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh

index 751fd329330057be33387af7a7bb82459017cf17..e26d9dde98687f3a2a176ae2cba26a004a88a36e 100644 (file)
@@ -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