mac80211: remove obsolete check for enable_ht

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40694
This commit is contained in:
Felix Fietkau 2014-05-03 21:18:53 +00:00
parent bc86119785
commit 32a806cf8a

View File

@ -82,7 +82,6 @@ mac80211_hostapd_setup_base() {
[ "$auto_channel" -gt 0 ] && channel=acs_survey [ "$auto_channel" -gt 0 ] && channel=acs_survey
[ "$enable_ht" -gt 0 ] && {
json_get_vars noscan htmode json_get_vars noscan htmode
json_get_values ht_capab_list ht_capab json_get_values ht_capab_list ht_capab
@ -264,7 +263,6 @@ mac80211_hostapd_setup_base() {
[ -n "$vht_capab" ] && append base_cfg "vht_capab=$vht_capab" "$N" [ -n "$vht_capab" ] && append base_cfg "vht_capab=$vht_capab" "$N"
fi fi
}
hostapd_prepare_device_config "$hostapd_conf_file" nl80211 hostapd_prepare_device_config "$hostapd_conf_file" nl80211
cat >> "$hostapd_conf_file" <<EOF cat >> "$hostapd_conf_file" <<EOF