aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless/scan.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/wireless/scan.c')
-rw-r--r--net/wireless/scan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/wireless/scan.c b/net/wireless/scan.c
index 0ccf3a07dc02..1bcb1312bd94 100644
--- a/net/wireless/scan.c
+++ b/net/wireless/scan.c
@@ -562,6 +562,7 @@ void cfg80211_unlink_bss(struct wiphy *wiphy, struct cfg80211_bss *pub)
562 spin_lock_bh(&dev->bss_lock); 562 spin_lock_bh(&dev->bss_lock);
563 563
564 list_del(&bss->list); 564 list_del(&bss->list);
565 dev->bss_generation++;
565 rb_erase(&bss->rbn, &dev->bss_tree); 566 rb_erase(&bss->rbn, &dev->bss_tree);
566 567
567 spin_unlock_bh(&dev->bss_lock); 568 spin_unlock_bh(&dev->bss_lock);