Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 289998
b: refs/heads/master
c: 6e1b1b2
h: refs/heads/master
v: v3
  • Loading branch information
Eliad Peller authored and John W. Linville committed Jan 27, 2012
1 parent 2bbf9cf commit af0ae07
Show file tree
Hide file tree
Showing 2 changed files with 16 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: 6269cc83e7c444f3050e0d7e640d079bae17aa68
refs/heads/master: 6e1b1b246096fe04467f928973487fa47afaf2cc
15 changes: 15 additions & 0 deletions trunk/net/mac80211/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -1271,6 +1271,21 @@ int ieee80211_reconfig(struct ieee80211_local *local)

ieee80211_recalc_ps(local, -1);

/*
* The sta might be in psm against the ap (e.g. because
* this was the state before a hw restart), so we
* explicitly send a null packet in order to make sure
* it'll sync against the ap (and get out of psm).
*/
if (!(local->hw.conf.flags & IEEE80211_CONF_PS)) {
list_for_each_entry(sdata, &local->interfaces, list) {
if (sdata->vif.type != NL80211_IFTYPE_STATION)
continue;

ieee80211_send_nullfunc(local, sdata, 0);
}
}

/*
* Clear the WLAN_STA_BLOCK_BA flag so new aggregation
* sessions can be established after a resume.
Expand Down

0 comments on commit af0ae07

Please sign in to comment.