]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: fix cmd and Tx data timeout issue for PCIe cards
authorAmitkumar Karwar <akarwar@marvell.com>
Tue, 18 Feb 2014 23:41:56 +0000 (15:41 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 20 Feb 2014 20:53:20 +0000 (15:53 -0500)
commite899691095d4d3a3f06830753675571affa27606
tree2328ab62cbd9d62316a1b27bef3455835ccc6884
parentb51cde9cda855ead0ced38d54dbf785bcad3605c
mwifiex: fix cmd and Tx data timeout issue for PCIe cards

We are sending sleep confirm done interrupt in the middle of
sleep handshake. There is a corner case when Tx done interrupt
is received from firmware during sleep handshake due to which
host and firmware power states go out of sync causing cmd and
Tx data timeout problem.

Hence sleep confirm done interrupt is sent at the end of sleep
handshake to fix the problem.

Cc: <stable@vger.kernel.org> # 3.10+
Signed-off-by: Amitkumar Karwar <akarwar@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