diff options
Diffstat (limited to 'net/mac80211')
-rw-r--r-- | net/mac80211/ht.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/mac80211/ht.c b/net/mac80211/ht.c index 61ac7c48ac0..9e7560becbb 100644 --- a/net/mac80211/ht.c +++ b/net/mac80211/ht.c @@ -406,6 +406,9 @@ void ieee80211_request_smps(struct ieee80211_vif *vif, if (WARN_ON(smps_mode == IEEE80211_SMPS_OFF)) smps_mode = IEEE80211_SMPS_AUTOMATIC; + if (sdata->u.mgd.driver_smps_mode == smps_mode) + return; + sdata->u.mgd.driver_smps_mode = smps_mode; ieee80211_queue_work(&sdata->local->hw, |