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)
commitc24d992ab6b6f067f78585b723fa0c95b3a9c8bf
tree9317d5f87d56f31bbf2e92dd1abbb0dfa21165a6
parentb2fda1f6662681dc854ac902249a89d210cd5583
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