From: Eliad Peller Date: Mon, 4 Apr 2011 07:38:47 +0000 (+0300) Subject: wl12xx: sleep instead of wakeup after tx work X-Git-Tag: MMI-PSA29.97-13-9~19291^2~16^2~186^2~26 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c75bbcdb200e2815c855e42a4685d170858af306;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git wl12xx: sleep instead of wakeup after tx work commit d05c806 ("wl12xx: rearrange some ELP wake_up/sleep calls") introduced a bug in which wl1271_ps_elp_wakeup() was called instead of wl1271_ps_elp_sleep() after completing the tx work. Reported-by: Arik Nemtsov Signed-off-by: Eliad Peller Signed-off-by: Luciano Coelho --- diff --git a/drivers/net/wireless/wl12xx/tx.c b/drivers/net/wireless/wl12xx/tx.c index 7a3339fd3415..c83665964467 100644 --- a/drivers/net/wireless/wl12xx/tx.c +++ b/drivers/net/wireless/wl12xx/tx.c @@ -630,7 +630,7 @@ void wl1271_tx_work(struct work_struct *work) wl1271_tx_work_locked(wl); - wl1271_ps_elp_wakeup(wl); + wl1271_ps_elp_sleep(wl); out: mutex_unlock(&wl->mutex); }