summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorShengzhen Li <szli@marvell.com>2016-01-12 16:43:16 +0300
committerKalle Valo <kvalo@codeaurora.org>2016-01-29 12:18:22 +0300
commitdc896b15fe94345912ff13fa8eb581b5c6acccde (patch)
treec9cfeefc63deb64e137fff7a986fdad8620160a1 /include/linux
parent99074fc1e67b374b5c72406a23ac01fed806d634 (diff)
downloadlinux-dc896b15fe94345912ff13fa8eb581b5c6acccde.tar.xz
mwifiex: fix power state out of sync problem
It's been observed that driver's power state goes out of sync with firmware in some corner cases. When this happens, driver tries to download the data to firmware assuming it's awake which causes Tx data timeout. Main thread will process interrupt as soon as interrupt handler fills 'int_status' variable. This patch fixes the race issue by updating 'int_status' at the end of mwifiex_interrupt_status(). Signed-off-by: Shengzhen Li <szli@marvell.com> Signed-off-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions