]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9cc453594954a83ce0fd3f836c0b0ae5c7d02e6d
tree97810507fb6a74264ece779fda48b7c6fb0711b1
parent3400642294d955323882595b16b6ed935ff66ee8
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