X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/5c56c7216aa8f3ad2d9fe92e03ad21278bac5caa..57b73bf423b68390a7ca428306ec0e30348e3401:/package/mac80211/files/lib/wifi/mac80211.sh diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh index 13390b866..ff5470b5e 100644 --- a/package/mac80211/files/lib/wifi/mac80211.sh +++ b/package/mac80211/files/lib/wifi/mac80211.sh @@ -16,6 +16,7 @@ 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" @@ -76,6 +77,8 @@ mac80211_hostapd_setup_base() { brstr="$brstr$brval" done } + + append base_cfg "preamble=$short_preamble" "$N" cat >> "$cfgfile" <