diff options
author | Felix Fietkau <nbd@nbd.name> | 2018-02-23 10:06:05 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2018-02-27 11:05:52 +0100 |
commit | 1d870162418a826905161d2276c912986d3b9d9a (patch) | |
tree | 0b3650e1bd34e62027dc396694a0a7473d47f88a /net/mac80211/cfg.c | |
parent | 59cae5b9d6d39db2804ed5f0330eb5507d40c34c (diff) | |
download | linux-1d870162418a826905161d2276c912986d3b9d9a.tar.gz linux-1d870162418a826905161d2276c912986d3b9d9a.tar.bz2 linux-1d870162418a826905161d2276c912986d3b9d9a.zip |
mac80211: support fast-rx with incompatible PS capabilities when PS is disabled
When powersave is disabled for the interface, we can do fast-rx anyway.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
[fixed indentation on one line]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/cfg.c')
-rw-r--r-- | net/mac80211/cfg.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c index f4195a0f0279..fd68f6fb02d7 100644 --- a/net/mac80211/cfg.c +++ b/net/mac80211/cfg.c @@ -2685,6 +2685,7 @@ static int ieee80211_set_power_mgmt(struct wiphy *wiphy, struct net_device *dev, ieee80211_recalc_ps(local); ieee80211_recalc_ps_vif(sdata); + ieee80211_check_fast_rx_iface(sdata); return 0; } |