aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/work.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/work.c')
-rw-r--r--net/mac80211/work.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/mac80211/work.c b/net/mac80211/work.c
index affdd10b67ad..0b8c31c600aa 100644
--- a/net/mac80211/work.c
+++ b/net/mac80211/work.c
@@ -517,8 +517,7 @@ ieee80211_associate(struct ieee80211_work *wk)
517 * bss struct for that AP. 517 * bss struct for that AP.
518 */ 518 */
519 if (wk->assoc.bss) 519 if (wk->assoc.bss)
520 cfg80211_unlink_bss(local->hw.wiphy, 520 cfg80211_unlink_bss(local->hw.wiphy, wk->assoc.bss);
521 &wk->assoc.bss->cbss);
522 521
523 /* 522 /*
524 * We might have a pending scan which had no chance to run yet 523 * We might have a pending scan which had no chance to run yet