From b2cb4d72e4ab11e87a4da978f1aa47697f4ef553 Mon Sep 17 00:00:00 2001 From: Teemu Paasikivi Date: Fri, 26 Mar 2010 12:53:26 +0200 Subject: [PATCH] --- yaml --- r: 194131 b: refs/heads/master c: 64e29e447ec01d2130b4c68f3459cfaa94fa138b h: refs/heads/master i: 194129: 3f96b574308aa36193abf2f884c48f2e446b8c0a 194127: 5ae4b3e82feb2551c66128cc7c61a4062bc5c89f v: v3 --- [refs] | 2 +- trunk/drivers/net/wireless/wl12xx/wl1271_event.c | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 77f048d1135a..f665e958f0f0 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 60e84c2ebb7b04361cf1ba0d325cc93366bd04a6 +refs/heads/master: 64e29e447ec01d2130b4c68f3459cfaa94fa138b diff --git a/trunk/drivers/net/wireless/wl12xx/wl1271_event.c b/trunk/drivers/net/wireless/wl12xx/wl1271_event.c index 4d35af96c597..a5c1910a0247 100644 --- a/trunk/drivers/net/wireless/wl12xx/wl1271_event.c +++ b/trunk/drivers/net/wireless/wl12xx/wl1271_event.c @@ -173,9 +173,12 @@ static int wl1271_event_process(struct wl1271 *wl, struct event_mailbox *mbox) * The BSS_LOSE_EVENT_ID is only needed while psm (and hence beacon * filtering) is enabled. Without PSM, the stack will receive all * beacons and can detect beacon loss by itself. + * + * As there's possibility that the driver disables PSM before receiving + * BSS_LOSE_EVENT, beacon loss has to be reported to the stack. + * */ - if (vector & BSS_LOSE_EVENT_ID && - test_bit(WL1271_FLAG_PSM, &wl->flags)) { + if (vector & BSS_LOSE_EVENT_ID) { wl1271_debug(DEBUG_EVENT, "BSS_LOSE_EVENT"); /* indicate to the stack, that beacons have been lost */