mwifiex: fix PCIe hs_cfg cancel cmd timeout
authorBing Zhao <bzhao@marvell.com>
Sat, 21 Sep 2013 02:56:45 +0000 (19:56 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 26 Sep 2013 18:02:31 +0000 (14:02 -0400)
commitb7be1522def9a9988b67afd0be999c50a96394b5
tree97810507fb6a74264ece779fda48b7c6fb0711b1
parent60ce314d1750fef843e9db70050e09e49f838b69
mwifiex: fix PCIe hs_cfg cancel cmd timeout

For pcie8897, the hs_cfg cancel command (0xe5) times out when host
comes out of suspend. This is caused by an incompleted host sleep
handshake between driver and firmware.

Like SDIO interface, PCIe also needs to go through firmware power
save events to complete the handshake for host sleep configuration.
Only USB interface doesn't require power save events for hs_cfg.

Cc: <stable@vger.kernel.org> # 3.10+
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/cmdevt.c