diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index 28bb7609cd4c..74676bbd6e23 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c @@ -1818,7 +1818,8 @@ void ieee80211_recalc_ps(struct ieee80211_local *local) int count = 0; int timeout; - if (!ieee80211_hw_check(&local->hw, SUPPORTS_PS)) { + if (!ieee80211_hw_check(&local->hw, SUPPORTS_PS) || + ieee80211_hw_check(&local->hw, SUPPORTS_DYNAMIC_PS)) { local->ps_sdata = NULL; return; }