Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290733
b: refs/heads/master
c: 3431683
h: refs/heads/master
i:
  290731: 3325655
v: v3
  • Loading branch information
Johannes Berg authored and John W. Linville committed Feb 27, 2012
1 parent 3bb39a4 commit 91e8b2b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 54e4ffb2abb3c086637cbc75a2bfe55a8ce987c8
refs/heads/master: 3431683759596409427b6726e582f3ee66082728
4 changes: 3 additions & 1 deletion trunk/net/mac80211/sta_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -865,8 +865,10 @@ int sta_info_flush(struct ieee80211_local *local,

mutex_lock(&local->sta_mtx);
list_for_each_entry_safe(sta, tmp, &local->sta_list, list) {
if (!sdata || sdata == sta->sdata)
if (!sdata || sdata == sta->sdata) {
WARN_ON(__sta_info_destroy(sta));
ret++;
}
}
mutex_unlock(&local->sta_mtx);

Expand Down

0 comments on commit 91e8b2b

Please sign in to comment.