mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 19:12:33 +08:00
mac80211: remove obsolete check for enable_ht
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40694
This commit is contained in:
parent
bc86119785
commit
32a806cf8a
@ -82,7 +82,6 @@ mac80211_hostapd_setup_base() {
|
||||
|
||||
[ "$auto_channel" -gt 0 ] && channel=acs_survey
|
||||
|
||||
[ "$enable_ht" -gt 0 ] && {
|
||||
json_get_vars noscan htmode
|
||||
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"
|
||||
fi
|
||||
}
|
||||
|
||||
hostapd_prepare_device_config "$hostapd_conf_file" nl80211
|
||||
cat >> "$hostapd_conf_file" <<EOF
|
||||
|
Loading…
x
Reference in New Issue
Block a user