From: Juuso Oikarinen Date: Mon, 12 Oct 2009 12:08:51 +0000 (+0300) Subject: wl1271: Enable ELP X-Git-Tag: MMI-PSA29.97-13-9~25754^2~599^2~120 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5d0af498c08b43566733d5c5fb8293ce3b109eab;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git wl1271: Enable ELP The new firmware has fixed a firmware crash problem related to ELP entry. Enable ELP to conserve power. 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_ps.c b/drivers/net/wireless/wl12xx/wl1271_ps.c index 5580e53d103a..fb821c988661 100644 --- a/drivers/net/wireless/wl12xx/wl1271_ps.c +++ b/drivers/net/wireless/wl12xx/wl1271_ps.c @@ -39,12 +39,7 @@ void wl1271_elp_work(struct work_struct *work) mutex_lock(&wl->mutex); - /* - * FIXME: below, by means of the "true", ELP has been disabled for now - * to work around a firmware bug. To be enabled upon receiving a new - * firmware version. - */ - if (true || wl->elp || !wl->psm) + if (wl->elp || !wl->psm) goto out; wl1271_debug(DEBUG_PSM, "chip to elp");