]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: access interrupt status only while holding lock
authorAvinash Patil <patila@marvell.com>
Fri, 4 Jan 2013 05:21:28 +0000 (21:21 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 7 Jan 2013 20:18:29 +0000 (15:18 -0500)
commit8cbc2b62bf9477b2a2d0f87a1d7c2286f6b21ed3
tree659d0d8fb6f9f4db383197dc8f287566ec3730d3
parent3149f9ceff2f05e67899ba0f91597e68d4813f82
mwifiex: access interrupt status only while holding lock

This patch fixes a bug for few instances where PCIe interrupt
status variable is accessed without holding spin lock.
This can result into missing interrupts.

Fix this by copying interrupt status to a local variable and
then using it for calling specific routine.

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