]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: mac80211: skip powersave recalc if driver SUPPORTS_DYNAMIC_PS
authorJohannes Berg <johannes.berg@intel.com>
Thu, 23 Jun 2022 07:48:00 +0000 (09:48 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 15 Jul 2022 09:43:14 +0000 (11:43 +0200)
commitb641e7e69a5cb11525f9b8ba2c15d7b9e2c7678d
tree7160c6756e96cdd5f7b5de5024d8f769706963a1
parent0edaa9533c78f58554fb975af08ea7a3455ef64d
wifi: mac80211: skip powersave recalc if driver SUPPORTS_DYNAMIC_PS

There are a few places that check ps_sdata and/or the dynamic
PS timeout, but they're erroneous in case SUPPORTS_DYNAMIC_PS
is set by the driver.

Skip the entire recalculation in this case so we cannot get
into those paths elsewhere, and so we simplify this for the
purpose of implementing MLO.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c