diff options
Diffstat (limited to 'net/mac80211')
-rw-r--r-- | net/mac80211/ht.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/ht.c b/net/mac80211/ht.c index 4214bb6e12fc..75d679d75e63 100644 --- a/net/mac80211/ht.c +++ b/net/mac80211/ht.c | |||
@@ -291,6 +291,8 @@ void ieee80211_request_smps(struct ieee80211_vif *vif, | |||
291 | if (WARN_ON(smps_mode == IEEE80211_SMPS_OFF)) | 291 | if (WARN_ON(smps_mode == IEEE80211_SMPS_OFF)) |
292 | smps_mode = IEEE80211_SMPS_AUTOMATIC; | 292 | smps_mode = IEEE80211_SMPS_AUTOMATIC; |
293 | 293 | ||
294 | sdata->u.mgd.driver_smps_mode = smps_mode; | ||
295 | |||
294 | ieee80211_queue_work(&sdata->local->hw, | 296 | ieee80211_queue_work(&sdata->local->hw, |
295 | &sdata->u.mgd.request_smps_work); | 297 | &sdata->u.mgd.request_smps_work); |
296 | } | 298 | } |