Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 286209
b: refs/heads/master
c: 5442047
h: refs/heads/master
i:
  286207: 9e886a4
v: v3
  • Loading branch information
Helmut Schaa authored and John W. Linville committed Jan 17, 2012
1 parent 3e83cd1 commit 2a496ef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d981e05908f85beb68ae0d935e59c5e399d2136e
refs/heads/master: 544204733a20200951c271f81c74930ba5424638
6 changes: 4 additions & 2 deletions trunk/net/mac80211/sta_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,11 @@ static void sta_unblock(struct work_struct *wk)
if (sta->dead)
return;

if (!test_sta_flag(sta, WLAN_STA_PS_STA))
if (!test_sta_flag(sta, WLAN_STA_PS_STA)) {
local_bh_disable();
ieee80211_sta_ps_deliver_wakeup(sta);
else if (test_and_clear_sta_flag(sta, WLAN_STA_PSPOLL)) {
local_bh_enable();
} else if (test_and_clear_sta_flag(sta, WLAN_STA_PSPOLL)) {
clear_sta_flag(sta, WLAN_STA_PS_DRIVER);

local_bh_disable();
Expand Down

0 comments on commit 2a496ef

Please sign in to comment.