Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 215092
b: refs/heads/master
c: 3207390
h: refs/heads/master
v: v3
  • Loading branch information
Johannes Berg authored and John W. Linville committed Oct 6, 2010
1 parent da56027 commit 3226191
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 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: b206b4ef062d83c0875a085672ed50e8c8b01521
refs/heads/master: 3207390a8b58bfc1335750f91cf6783c48ca19ca
12 changes: 6 additions & 6 deletions trunk/net/wireless/scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -650,14 +650,14 @@ void cfg80211_unlink_bss(struct wiphy *wiphy, struct cfg80211_bss *pub)
bss = container_of(pub, struct cfg80211_internal_bss, pub);

spin_lock_bh(&dev->bss_lock);
if (!list_empty(&bss->list)) {
list_del_init(&bss->list);
dev->bss_generation++;
rb_erase(&bss->rbn, &dev->bss_tree);

list_del(&bss->list);
dev->bss_generation++;
rb_erase(&bss->rbn, &dev->bss_tree);

kref_put(&bss->ref, bss_release);
}
spin_unlock_bh(&dev->bss_lock);

kref_put(&bss->ref, bss_release);
}
EXPORT_SYMBOL(cfg80211_unlink_bss);

Expand Down

0 comments on commit 3226191

Please sign in to comment.