aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx
diff options
context:
space:
mode:
authorEliad Peller <eliad@wizery.com>2011-04-04 03:38:47 -0400
committerLuciano Coelho <coelho@ti.com>2011-05-02 03:25:22 -0400
commitc75bbcdb200e2815c855e42a4685d170858af306 (patch)
tree7fa407753a39e5258166a95bd52a86820cc77027 /drivers/net/wireless/wl12xx
parent564f59509e26355965949c677f9d6eb064a3aa0b (diff)
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 <arik@wizery.com> Signed-off-by: Eliad Peller <eliad@wizery.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx')
-rw-r--r--drivers/net/wireless/wl12xx/tx.c2
1 files changed, 1 insertions, 1 deletions
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)
630 630
631 wl1271_tx_work_locked(wl); 631 wl1271_tx_work_locked(wl);
632 632
633 wl1271_ps_elp_wakeup(wl); 633 wl1271_ps_elp_sleep(wl);
634out: 634out:
635 mutex_unlock(&wl->mutex); 635 mutex_unlock(&wl->mutex);
636} 636}