diff options
author | Kalle Valo <kalle.valo@nokia.com> | 2009-03-22 15:57:35 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-03-27 20:13:13 -0400 |
commit | 04de83815993714a7ba2618f637fa1092a5f664b (patch) | |
tree | 7e491e890a66a3be3e4eae9636914858a6f3bba8 /net/mac80211/iface.c | |
parent | a08c1c1ac0c26229ca1ca45d554b209a56edc8be (diff) |
mac80211: add beacon filtering support
Add IEEE80211_HW_BEACON_FILTERING flag so that driver inform that it supports
beacon filtering. Drivers need to call the new function
ieee80211_beacon_loss() to notify about beacon loss.
Signed-off-by: Kalle Valo <kalle.valo@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/iface.c')
-rw-r--r-- | net/mac80211/iface.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c index dd2a276fa8ca..91e8e1bacaaa 100644 --- a/net/mac80211/iface.c +++ b/net/mac80211/iface.c | |||
@@ -477,6 +477,9 @@ static int ieee80211_stop(struct net_device *dev) | |||
477 | */ | 477 | */ |
478 | cancel_work_sync(&sdata->u.mgd.work); | 478 | cancel_work_sync(&sdata->u.mgd.work); |
479 | cancel_work_sync(&sdata->u.mgd.chswitch_work); | 479 | cancel_work_sync(&sdata->u.mgd.chswitch_work); |
480 | |||
481 | cancel_work_sync(&sdata->u.mgd.beacon_loss_work); | ||
482 | |||
480 | /* | 483 | /* |
481 | * When we get here, the interface is marked down. | 484 | * When we get here, the interface is marked down. |
482 | * Call synchronize_rcu() to wait for the RX path | 485 | * Call synchronize_rcu() to wait for the RX path |