aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless
diff options
context:
space:
mode:
Diffstat (limited to 'net/wireless')
-rw-r--r--net/wireless/scan.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/wireless/scan.c b/net/wireless/scan.c
index 2a00e362f5fe..4c77669275eb 100644
--- a/net/wireless/scan.c
+++ b/net/wireless/scan.c
@@ -364,6 +364,8 @@ cfg80211_bss_update(struct cfg80211_registered_device *dev,
364 list_replace(&found->list, &res->list); 364 list_replace(&found->list, &res->list);
365 rb_replace_node(&found->rbn, &res->rbn, 365 rb_replace_node(&found->rbn, &res->rbn,
366 &dev->bss_tree); 366 &dev->bss_tree);
367 /* XXX: workaround */
368 res->hold = found->hold;
367 kref_put(&found->ref, bss_release); 369 kref_put(&found->ref, bss_release);
368 found = res; 370 found = res;
369 } else if (found) { 371 } else if (found) {