Skip to content

Commit

Permalink
wl12xx: sleep instead of wakeup after tx work
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Eliad Peller authored and Luciano Coelho committed May 2, 2011
1 parent 564f595 commit c75bbcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/wl12xx/tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit c75bbcd

Please sign in to comment.