]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: avoid waking up device in awake state
authorAvinash Patil <patila@marvell.com>
Sat, 23 Mar 2013 04:49:06 +0000 (21:49 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 27 Mar 2013 17:37:32 +0000 (13:37 -0400)
commitcd18fce2d942305a53f6938c3b51d87da3b1a969
tree9317d5f87d56f31bbf2e92dd1abbb0dfa21165a6
parent0e1c44a427d3c3e8c5adef4e8d7346a400a4cc7d
mwifiex: avoid waking up device in awake state

We have received interrupt from device means FW is not sleeping.
In this case make sure wakeup handler for PCIe is not invoked by
setting adapter->pm_wakeup_fw_try to false.

Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/pcie.c