summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c
diff options
context:
space:
mode:
authorDouglas Anderson <dianders@chromium.org>2019-04-03 21:01:06 -0700
committerKalle Valo <kvalo@codeaurora.org>2019-04-25 14:05:14 +0300
commitb82d6c1f8f8288f744a9dcc16cd3085d535decca (patch)
tree9920723ba38805e4099d4afd6a4bff3bbce2436d /drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c
parent792a2fdcee105c2a1dada84a1bcf77e34479d2d8 (diff)
mwifiex: Make resume actually do something useful again on SDIO cards
The commit fc3a2fcaa1ba ("mwifiex: use atomic bitops to represent adapter status variables") had a fairly straightforward bug in it. It contained this bit of diff: - if (!adapter->is_suspended) { + if (test_bit(MWIFIEX_IS_SUSPENDED, &adapter->work_flags)) { As you can see the patch missed the "!" when converting to the atomic bitops. This meant that the resume hasn't done anything at all since that commit landed and suspend/resume for mwifiex SDIO cards has been totally broken. After fixing this mwifiex suspend/resume appears to work again, at least with the simple testing I've done. Fixes: fc3a2fcaa1ba ("mwifiex: use atomic bitops to represent adapter status variables") Cc: <stable@vger.kernel.org> Signed-off-by: Douglas Anderson <dianders@chromium.org> Reviewed-by: Brian Norris <briannorris@chromium.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c')
0 files changed, 0 insertions, 0 deletions