mac80211/hostapd: short_preamble is a per-vif option and should be enabled by default

SVN-Revision: 35565
This commit is contained in:
Felix Fietkau
2013-02-11 18:59:10 +00:00
parent 2e7a4b088d
commit 1810b80ec0
2 changed files with 4 additions and 3 deletions

View File

@@ -14,7 +14,6 @@ mac80211_hostapd_setup_base() {
config_get beacon_int "$device" beacon_int
config_get basic_rate_list "$device" basic_rate
config_get_bool noscan "$device" noscan
config_get_bool short_preamble "$device" short_preamble "0"
hostapd_set_log_options base_cfg "$device"
@@ -58,8 +57,6 @@ mac80211_hostapd_setup_base() {
done
}
append base_cfg "preamble=$short_preamble" "$N"
cat >> "$cfgfile" <<EOF
ctrl_interface=/var/run/hostapd-$phy
driver=nl80211