diff options
author | Eliad Peller <eliad@wizery.com> | 2011-04-04 10:38:47 +0300 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2011-04-20 20:37:24 +0300 |
commit | f4b9628e0016f43e53bb7a5b13167566cb2d8645 (patch) | |
tree | 69b786dd789ba71d46407f9037f83dc673892df4 | |
parent | 4f50373cea6e37f8b726369494661154f23f3a4a (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>
-rw-r--r-- | drivers/net/wireless/wl12xx/tx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/tx.c b/drivers/net/wireless/wl12xx/tx.c index 7a3339fd341..c8366596446 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); } |