diff options
author | Juuso Oikarinen <juuso.oikarinen@nokia.com> | 2009-11-17 18:48:23 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-11-18 17:09:19 -0500 |
commit | 287f6f9672635f4e948c0aa96754a2ce448ebdb2 (patch) | |
tree | ab3f27db81a931c023f18d103665e012c0deb25a /drivers/net/wireless/wl12xx/wl1251_event.c | |
parent | 474c48c9f2118e637477b3b1c70003cb5cbda983 (diff) | |
download | op-kernel-dev-287f6f9672635f4e948c0aa96754a2ce448ebdb2.zip op-kernel-dev-287f6f9672635f4e948c0aa96754a2ce448ebdb2.tar.gz |
wl1251: Enable beacon filtering with the stack
Enable beacon filtering with the mac80211 stack.
Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Signed-off-by: Kalle Valo <kalle.valo@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1251_event.c')
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1251_event.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1251_event.c b/drivers/net/wireless/wl12xx/wl1251_event.c index 00076c4..18c301d 100644 --- a/drivers/net/wireless/wl12xx/wl1251_event.c +++ b/drivers/net/wireless/wl12xx/wl1251_event.c @@ -79,6 +79,13 @@ static int wl1251_event_process(struct wl1251 *wl, struct event_mailbox *mbox) } } + if (vector & SYNCHRONIZATION_TIMEOUT_EVENT_ID && wl->psm) { + wl1251_debug(DEBUG_EVENT, "SYNCHRONIZATION_TIMEOUT_EVENT"); + + /* indicate to the stack, that beacons have been lost */ + ieee80211_beacon_loss(wl->vif); + } + return 0; } |