linux/drivers/net/wireless/intel/iwlwifi
Sara Sharon fe56d05ee6 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
2020-11-10 20:45:36 +02:00
..
cfg iwlwifi: bump FW API to 59 for AX devices 2020-10-08 20:15:03 +03:00
dvm iwlwifi: dvm: devices: Fix function documentation formatting issues 2020-10-08 13:43:52 +03:00
fw iwlwifi: mvm: properly cancel a session protection for P2P 2020-11-10 20:45:32 +02:00
mvm iwlwifi: mvm: fix kernel panic in case of assert during CSA 2020-11-10 20:45:36 +02:00
pcie iwlwifi: pcie: set LTR to avoid completion timeout 2020-11-10 20:45:35 +02:00
queue iwlwifi: pcie: make iwl_pcie_txq_update_byte_cnt_tbl bus independent 2020-10-01 22:02:23 +03:00
iwl-agn-hw.h
iwl-config.h iwlwifi: pcie: fix xtal latency for 9560 devices 2020-10-08 20:14:48 +03:00
iwl-context-info-gen3.h iwlwifi: pcie: implement set_pnvm op 2020-10-08 20:15:00 +03:00
iwl-context-info.h iwlwifi: pcie: implement set_pnvm op 2020-10-08 20:15:00 +03:00
iwl-csr.h iwlwifi: pcie: set LTR to avoid completion timeout 2020-11-10 20:45:35 +02:00
iwl-dbg-tlv.c iwlwifi: yoyo: add support for internal buffer allocation in D3 2020-10-01 22:02:28 +03:00
iwl-dbg-tlv.h
iwl-debug.c net: iwlwifi: Remove in_interrupt() from tracing macro. 2020-09-29 14:02:55 -07:00
iwl-debug.h iwlwifi: mvm: add d3 prints 2020-10-01 22:00:59 +03:00
iwl-devtrace-data.h
iwl-devtrace-io.h
iwl-devtrace-iwlwifi.h
iwl-devtrace-msg.h net: iwlwifi: Remove in_interrupt() from tracing macro. 2020-09-29 14:02:55 -07:00
iwl-devtrace-ucode.h
iwl-devtrace.c
iwl-devtrace.h
iwl-drv.c iwlwifi: mvm: get number of stations from TLV 2020-10-08 20:09:25 +03:00
iwl-drv.h iwlwifi: remove outdated copyright print/module statement 2020-05-08 09:53:06 +03:00
iwl-eeprom-parse.c
iwl-eeprom-parse.h
iwl-eeprom-read.c
iwl-eeprom-read.h
iwl-fh.h iwlwifi: use longer queues for 256-BA 2020-05-08 09:52:56 +03:00
iwl-io.c
iwl-io.h
iwl-modparams.h iwlwifi: remove antenna_coupling module parameter 2020-05-08 09:50:42 +03:00
iwl-nvm-parse.c iwlwifi: regulatory: regulatory capabilities api change 2020-10-01 21:57:22 +03:00
iwl-nvm-parse.h iwlwifi: regulatory: regulatory capabilities api change 2020-10-01 21:57:22 +03:00
iwl-op-mode.h iwlwifi: Replace zero-length array with flexible-array 2020-06-10 15:22:16 +03:00
iwl-phy-db.c
iwl-phy-db.h
iwl-prph.h iwlwifi: mvm: ring the doorbell and wait for PNVM load completion 2020-10-08 20:09:28 +03:00
iwl-scd.h
iwl-trans.c Revert "iwlwifi: remove wide_cmd_header field" 2020-10-09 18:04:50 +03:00
iwl-trans.h Revert "iwlwifi: remove wide_cmd_header field" 2020-10-09 18:04:50 +03:00
Kconfig First set of patches intended for v5.9 2020-06-15 20:23:23 +03:00
Makefile iwlwifi: move PNVM implementation to common code 2020-10-08 20:14:58 +03:00