Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 352694
b: refs/heads/master
c: 66d5757
h: refs/heads/master
v: v3
  • Loading branch information
Emmanuel Grumbach authored and Johannes Berg committed Feb 12, 2013
1 parent 507a568 commit 5b61a47
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b6a7bceb3b9315478657bc55884dfdcd104c9864
refs/heads/master: 66d575705154525c33ab99b5f9ac2d246c348db6
3 changes: 3 additions & 0 deletions trunk/net/mac80211/ht.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 5b61a47

Please sign in to comment.