Skip to content

Commit

Permalink
mac80211: fix SMPS request
Browse files Browse the repository at this point in the history
It looks like I submitted a different patch
than I tested, because clearly the code in
mac80211 is missing actually propagating the
requested SMPS mode. Fix that!

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Johannes Berg authored and John W. Linville committed Oct 13, 2010
1 parent 9c1d8e4 commit e4b5595
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions net/mac80211/ht.c
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,8 @@ void ieee80211_request_smps(struct ieee80211_vif *vif,
if (WARN_ON(smps_mode == IEEE80211_SMPS_OFF))
smps_mode = IEEE80211_SMPS_AUTOMATIC;

sdata->u.mgd.driver_smps_mode = smps_mode;

ieee80211_queue_work(&sdata->local->hw,
&sdata->u.mgd.request_smps_work);
}
Expand Down

0 comments on commit e4b5595

Please sign in to comment.