Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5d0af498 authored by Juuso Oikarinen's avatar Juuso Oikarinen Committed by John W. Linville
Browse files

wl1271: Enable ELP



The new firmware has fixed a firmware crash problem related to ELP entry.
Enable ELP to conserve power.

Signed-off-by: default avatarJuuso Oikarinen <juuso.oikarinen@nokia.com>
Reviewed-by: default avatarLuciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: default avatarLuciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent c15f63bf
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -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");