]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/mac80211/iface.c
mac80211: add beacon filtering support
[linux-2.6-omap-h63xx.git] / net / mac80211 / iface.c
index dd2a276fa8ca7d4444a5d4819f6f899607e7eff2..91e8e1bacaaa1a141ed5396ee54bce2d744250fe 100644 (file)
@@ -477,6 +477,9 @@ static int ieee80211_stop(struct net_device *dev)
                 */
                cancel_work_sync(&sdata->u.mgd.work);
                cancel_work_sync(&sdata->u.mgd.chswitch_work);
+
+               cancel_work_sync(&sdata->u.mgd.beacon_loss_work);
+
                /*
                 * When we get here, the interface is marked down.
                 * Call synchronize_rcu() to wait for the RX path