]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Oct 2013 23:08:33 +0000 (16:08 -0700)
commite54fcd5bcf04a1623e0cd5bf1eff5948d5666990
treef485facac163dbea7ddb208a619fd0f1edcfe434
parent88fb132a74d2352bcabff8e6b1443210e9b99e9d
mwifiex: fix PCIe hs_cfg cancel cmd timeout

commit b7be1522def9a9988b67afd0be999c50a96394b5 upstream.

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.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/mwifiex/cmdevt.c