aboutsummaryrefslogtreecommitdiffstats
path: root/package/network
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2022-11-10 13:08:28 +0100
committerFelix Fietkau <nbd@nbd.name>2022-11-10 13:09:18 +0100
commitddf736e543d4a214f563dc008b6fb5ee5e0d1b66 (patch)
tree68f454fc9e3e9e03c5c0fe30d19fd4cabef290fb /package/network
parente4770db163a9585c43bb70dc5d6d1e45ef848e4a (diff)
downloadupstream-ddf736e543d4a214f563dc008b6fb5ee5e0d1b66.tar.gz
upstream-ddf736e543d4a214f563dc008b6fb5ee5e0d1b66.tar.bz2
upstream-ddf736e543d4a214f563dc008b6fb5ee5e0d1b66.zip
hostapd: remove invalid dtim_period option processing
dtim_period is a bss property, not a device one. It is already handled properly in mac80211.sh Fixes: 30c64825c7ed ("hostapd: add dtim_period, local_pwr_constraint, spectrum_mgmt_required") Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/network')
-rw-r--r--package/network/services/hostapd/files/hostapd.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/network/services/hostapd/files/hostapd.sh b/package/network/services/hostapd/files/hostapd.sh
index 7eeb74e984..79daa915ad 100644
--- a/package/network/services/hostapd/files/hostapd.sh
+++ b/package/network/services/hostapd/files/hostapd.sh
@@ -131,7 +131,7 @@ hostapd_prepare_device_config() {
local base_cfg=
- json_get_vars country country3 country_ie beacon_int:100 dtim_period:2 doth require_mode legacy_rates \
+ json_get_vars country country3 country_ie beacon_int:100 doth require_mode legacy_rates \
acs_chan_bias local_pwr_constraint spectrum_mgmt_required airtime_mode cell_density \
rts_threshold beacon_rate rssi_reject_assoc_rssi rssi_ignore_probe_request maxassoc
@@ -232,7 +232,6 @@ hostapd_prepare_device_config() {
[ -n "$brlist" ] && append base_cfg "basic_rates=$brlist" "$N"
append base_cfg "beacon_int=$beacon_int" "$N"
[ -n "$rts_threshold" ] && append base_cfg "rts_threshold=$rts_threshold" "$N"
- append base_cfg "dtim_period=$dtim_period" "$N"
[ "$airtime_mode" -gt 0 ] && append base_cfg "airtime_mode=$airtime_mode" "$N"
[ -n "$maxassoc" ] && append base_cfg "iface_max_num_sta=$maxassoc" "$N"