Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 236965
b: refs/heads/master
c: 8c7914d
h: refs/heads/master
i:
  236963: b6d68bf
v: v3
  • Loading branch information
Rajkumar Manoharan authored and John W. Linville committed Jan 31, 2011
1 parent 6d56688 commit 31da175
Show file tree
Hide file tree
Showing 2 changed files with 9 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: 5a3a0352f39c81dfa5c30a190ad04d115616c3e6
refs/heads/master: 8c7914dec29f39a6a8ca348a5eeace40a59be65d
8 changes: 8 additions & 0 deletions trunk/net/mac80211/mlme.c
Original file line number Diff line number Diff line change
Expand Up @@ -601,6 +601,14 @@ void ieee80211_recalc_ps(struct ieee80211_local *local, s32 latency)
list_for_each_entry(sdata, &local->interfaces, list) {
if (!ieee80211_sdata_running(sdata))
continue;
if (sdata->vif.type == NL80211_IFTYPE_AP) {
/* If an AP vif is found, then disable PS
* by setting the count to zero thereby setting
* ps_sdata to NULL.
*/
count = 0;
break;
}
if (sdata->vif.type != NL80211_IFTYPE_STATION)
continue;
found = sdata;
Expand Down

0 comments on commit 31da175

Please sign in to comment.