Unverified Commit 367b811b authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!13867 wifi: iwlegacy: Clear stale interrupts before resuming device

parents c3cfd42c b08a4bcf
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -4963,6 +4963,8 @@ il_pci_resume(struct device *device)
	 */
	pci_write_config_byte(pdev, PCI_CFG_RETRY_TIMEOUT, 0x00);

	_il_wr(il, CSR_INT, 0xffffffff);
	_il_wr(il, CSR_FH_INT_STATUS, 0xffffffff);
	il_enable_interrupts(il);

	if (!(_il_rd(il, CSR_GP_CNTRL) & CSR_GP_CNTRL_REG_FLAG_HW_RF_KILL_SW))