diff options
author | Sara Sharon <sara.sharon@intel.com> | 2020-11-07 09:50:11 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2020-11-10 19:45:36 +0100 |
commit | fe56d05ee6c87f6a1a8c7267affd92c9438249cc (patch) | |
tree | 43abb4e284c80ef337bc038c43ec0ed92439cb77 /net/dccp | |
parent | iwlwifi: pcie: set LTR to avoid completion timeout (diff) | |
download | linux-fe56d05ee6c87f6a1a8c7267affd92c9438249cc.tar.xz linux-fe56d05ee6c87f6a1a8c7267affd92c9438249cc.zip |
iwlwifi: mvm: fix kernel panic in case of assert during CSA
During CSA, we briefly nullify the phy context, in __iwl_mvm_unassign_vif_chanctx.
In case we have a FW assert right after it, it remains NULL though.
We end up running into endless loop due to mac80211 trying repeatedly to
move us to ASSOC state, and we keep returning -EINVAL. Later down the road
we hit a kernel panic.
Detect and avoid this endless loop.
Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/iwlwifi.20201107104557.d64de2c17bff.Iedd0d2afa20a2aacba5259a5cae31cb3a119a4eb@changeid
Diffstat (limited to 'net/dccp')
0 files changed, 0 insertions, 0 deletions