From: Juuso Oikarinen Date: Fri, 11 Dec 2009 13:41:03 +0000 (+0200) Subject: wl1271: Remove beacon-loss-ind from PSM entry failure handling X-Git-Tag: v2.6.34-rc1~233^2~682^2~32 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=26a63f6af58144818d4979cce1cbb8e49329f732;p=karo-tx-linux.git wl1271: Remove beacon-loss-ind from PSM entry failure handling Remove the beacon-loss indication to stack from PSM entry failure handling - this will cause more problems than it will solve due to the design of the mac80211. Signed-off-by: Juuso Oikarinen Reviewed-by: Luciano Coelho Signed-off-by: Luciano Coelho Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/wl12xx/wl1271_event.c b/drivers/net/wireless/wl12xx/wl1271_event.c index 227caa14cbc5..8d0c18dec2cd 100644 --- a/drivers/net/wireless/wl12xx/wl1271_event.c +++ b/drivers/net/wireless/wl12xx/wl1271_event.c @@ -89,7 +89,6 @@ static int wl1271_event_ps_report(struct wl1271 *wl, } else { wl1271_error("PSM entry failed, giving up.\n"); wl->psm_entry_retry = 0; - *beacon_loss = true; } break; case EVENT_ENTER_POWER_SAVE_SUCCESS: