mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-05-04 17:36:12 +02:00
wifi-scripts: ucode: make he_twt_required depends on he_twt_responder
Doesn't make sense to have he_twt_required enabled without he_twt_respodner. Signed-off-by: Zhi-Jun You <hujy652@protonmail.com> Link: https://github.com/openwrt/openwrt/pull/22577 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
3b69cf0844
commit
0a6683e4ab
@ -428,7 +428,7 @@ function device_htmode_append(config) {
|
||||
config.he_spr_psr_enabled = false;
|
||||
if (!(he_mac_cap[0] & 0x4))
|
||||
config.he_twt_responder = false;
|
||||
if (!(he_mac_cap[0] & 0x1))
|
||||
if (!config.he_twt_responder)
|
||||
config.he_twt_required= false;
|
||||
|
||||
append_vars(config, [
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user