mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-22 13:14:37 +04:00
wifi-scripts: mac80211.sh: declare he_spr_sr_control as a number
he_spr_sr_control is the SR Control field, a number (default 3), but the script declared it boolean. netifd's parse_bool() turns any value other than 0 or 1 into null, so a configured 2 reached hostapd as the default 3, with PSR Disallowed set, and bit 4 was lost. Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
1 parent
8c544d299e
commit
5b32ecf8ae
1 file changed
+1
-1
@@ -55,7 +55,6 @@ drv_mac80211_init_device_config() {
|
||||
htc_vht \
|
||||
rx_antenna_pattern \
|
||||
tx_antenna_pattern \
|
||||
he_spr_sr_control \
|
||||
he_spr_psr_enabled \
|
||||
he_bss_color_enabled \
|
||||
he_twt_required
|
||||
@@ -69,6 +68,7 @@ drv_mac80211_init_device_config() {
|
||||
rx_stbc \
|
||||
tx_stbc \
|
||||
he_bss_color \
|
||||
he_spr_sr_control \
|
||||
he_spr_non_srg_obss_pd_max_offset \
|
||||
he_spr_srg_obss_pd_min_offset \
|
||||
he_spr_srg_obss_pd_max_offset
|
||||
|
||||
Reference in new issue
Block a user