UPSTREAM: mwifiex: wake system up when receives a wake irq
Currrently we are disabling this wake irq after receiving it. If this
happens before we finish suspend and the pm event check is disabled,
the system will continue suspending, and this irq would not work again.
We may need to abort system suspend to avoid that.
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
(cherry picked from git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next.git master
commit ef7e0714742541dcce75b646b64f7a376b7d4368)
Conflicts:
drivers/net/wireless/marvell/mwifiex/main.c
drivers/net/wireless/marvell/mwifiex/util.c
[due to different wowlan implements with upstream.]
BUG=b:35775072
TEST=Build and boot
Change-Id: I9226d4f1b0e44b8627f71fcd3919b215917c39da
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Reviewed-on: https://chromium-review.googlesource.com/446201
Reviewed-by: Brian Norris <briannorris@chromium.org>
1 file changed