Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290004
b: refs/heads/master
c: 2ab694d
h: refs/heads/master
v: v3
  • Loading branch information
Helmut Schaa authored and John W. Linville committed Jan 30, 2012
1 parent 659f159 commit fe6a3dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: 83d5cc012441531ab0bf6f99881958e964e9cf11
refs/heads/master: 2ab694d302b489c5aa49c360dc97149b77c96586
4 changes: 1 addition & 3 deletions trunk/net/mac80211/sta_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -750,12 +750,10 @@ int __must_check __sta_info_destroy(struct sta_info *sta)

sta->dead = true;

if (test_sta_flag(sta, WLAN_STA_PS_STA) ||
test_sta_flag(sta, WLAN_STA_PS_DRIVER)) {
if (test_sta_flag(sta, WLAN_STA_PS_STA)) {
BUG_ON(!sdata->bss);

clear_sta_flag(sta, WLAN_STA_PS_STA);
clear_sta_flag(sta, WLAN_STA_PS_DRIVER);

atomic_dec(&sdata->bss->num_sta_ps);
sta_info_recalc_tim(sta);
Expand Down

0 comments on commit fe6a3dc

Please sign in to comment.