diff options
author | Brian Norris <briannorris@chromium.org> | 2016-11-18 22:43:25 +0530 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2016-11-25 11:49:56 +0200 |
commit | b9da4d223bdade1f6f3401387761f61b0da1224e (patch) | |
tree | d1272d0c6644565d336a03896df14235deb432de /drivers/net/wireless/realtek/rtl8xxxu | |
parent | d96e39270ba5b81dee63f7a1bdaad01484c94e08 (diff) |
mwifiex: avoid double-disable_irq() race
We have a race where the wakeup IRQ might be in flight while we're
calling mwifiex_disable_wake() from resume(). This can leave us
disabling the IRQ twice.
Let's disable the IRQ and enable it in case if we have double-disabled
it.
Signed-off-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/realtek/rtl8xxxu')
0 files changed, 0 insertions, 0 deletions