summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/marvell/mwifiex/sta_ioctl.c
diff options
context:
space:
mode:
authorShengzhen Li <szli@marvell.com>2016-01-12 05:43:16 -0800
committerKalle Valo <kvalo@codeaurora.org>2016-01-29 11:18:22 +0200
commitdc896b15fe94345912ff13fa8eb581b5c6acccde (patch)
treec9cfeefc63deb64e137fff7a986fdad8620160a1 /drivers/net/wireless/marvell/mwifiex/sta_ioctl.c
parent99074fc1e67b374b5c72406a23ac01fed806d634 (diff)
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 'drivers/net/wireless/marvell/mwifiex/sta_ioctl.c')
0 files changed, 0 insertions, 0 deletions