libertas: do not confirm sleep if commands are pending
authorAndreas Kemnade <andreas@kemnade.info>
Sat, 30 Jan 2016 17:01:53 +0000 (18:01 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 6 Feb 2016 12:02:11 +0000 (14:02 +0200)
commit57954b94cad77c3253beca805cf493861c7d92b5
tree2c2acb2c091944ed3ada5aeaa105a04a415d8b91
parentfae4f9f78ab11937bc45b0f3625efe2e35aed510
libertas: do not confirm sleep if commands are pending

If the main thread gets one PS AWAKE event and one PS SLEEP event
in one iteration over event_fifo there will never be checks for
commands to be processed, since psstate will always be
PS_STATE_SLEEP or PS_STATE_PRE_SLEEP

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/libertas/cmdresp.c
This page took 0.024356 seconds and 5 git commands to generate.