diff options
author | Johannes Berg <johannes.berg@intel.com> | 2022-06-24 16:02:16 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2022-07-15 12:43:15 +0300 |
commit | a3b8008dc1421a6f1d0d92cfc1352d729f6756c1 (patch) | |
tree | db9e09dabe6b7d89604c1bbdf5f076142d737d3f /drivers/net/wireless/ath/ath10k | |
parent | 3fbddae46e5fc3f1630c7cf561d88e4ad21c7105 (diff) | |
download | linux-a3b8008dc1421a6f1d0d92cfc1352d729f6756c1.tar.xz |
wifi: mac80211: move ps setting to vif config
This really shouldn't be in a per-link config, we don't want
to let anyone control it that way (if anything, link powersave
could be forced through APIs to activate/deactivate a link),
and we don't support powersave in software with devices that
can do MLO.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k')
-rw-r--r-- | drivers/net/wireless/ath/ath10k/mac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c index 3d111d6447f0..b18f32261d15 100644 --- a/drivers/net/wireless/ath/ath10k/mac.c +++ b/drivers/net/wireless/ath/ath10k/mac.c @@ -6252,7 +6252,7 @@ static void ath10k_bss_info_changed(struct ieee80211_hw *hw, } if (changed & BSS_CHANGED_PS) { - arvif->ps = vif->bss_conf.ps; + arvif->ps = vif->cfg.ps; ret = ath10k_config_ps(ar); if (ret) |