wl1271: Removed checking of PSM from handling BSS_LOST_EVENT
authorTeemu Paasikivi <ext-teemu.3.paasikivi@nokia.com>
Fri, 26 Mar 2010 10:53:26 +0000 (12:53 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 31 Mar 2010 18:39:15 +0000 (14:39 -0400)
commit64e29e447ec01d2130b4c68f3459cfaa94fa138b
tree791f2952fcff74cbcfd2d225fc3b18ebdabc8f46
parent60e84c2ebb7b04361cf1ba0d325cc93366bd04a6
wl1271: Removed checking of PSM from handling BSS_LOST_EVENT

Change the driver to call ieee80211_beacon_loss function always when
BSS_LOST_EVENT is received. Reason for the change is that entering PSM
might fail before driver receives BSS_LOST_EVENT. In such case the
driver would disable PSM and the stack would not be notified about beacon
loss and connection loss detection would be delayed by tens of seconds.

Signed-off-by: Teemu Paasikivi <ext-teemu.3.paasikivi@nokia.com>
Reviewed-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl12xx/wl1271_event.c