mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 21:14:56 -04:00
wifi: iwlwifi: pcie: add missing TOP reset code
The TOP reset requires code to handle the interrupt, which had been in my patch at some point, but clearly got lost. As the test had been running on the wrong hardware and failing due to that, we missed this. Add the missing code. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com> Link: https://patch.msgid.link/20250609211928.3f84eb03cc00.If138ceeb8bb178b3931d96b537f746346227e681@changeid
This commit is contained in:
committed by
Miri Korenblit
parent
aab09bf122
commit
3b05871a22
@@ -1852,7 +1852,12 @@ static void iwl_trans_pcie_handle_reset_interrupt(struct iwl_trans *trans)
|
||||
}
|
||||
fallthrough;
|
||||
case CSR_IPC_STATE_RESET_TOP_READY:
|
||||
/* FIXME: handle this case when requesting TOP reset */
|
||||
if (trans_pcie->fw_reset_state == FW_RESET_TOP_REQUESTED) {
|
||||
IWL_DEBUG_ISR(trans, "TOP Reset continues\n");
|
||||
trans_pcie->fw_reset_state = FW_RESET_OK;
|
||||
wake_up(&trans_pcie->fw_reset_waitq);
|
||||
break;
|
||||
}
|
||||
fallthrough;
|
||||
case CSR_IPC_STATE_RESET_NONE:
|
||||
IWL_FW_CHECK_FAILED(trans,
|
||||
|
||||
Reference in New Issue
Block a user