wifi: iwlwifi: pcie: double-check ACK interrupt after timeout
authorJohannes Berg <johannes.berg@intel.com>
Wed, 14 Jun 2023 09:41:23 +0000 (12:41 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 19 Jun 2023 10:05:25 +0000 (12:05 +0200)
commitc2a1c8c10f18e9416013db3dbfa67808d7ab03d8
treef86755ed7001e008672d605dcd1f6170258be308
parent96fb6f47db24a712d650b0a9b9074873f273fb0e
wifi: iwlwifi: pcie: double-check ACK interrupt after timeout

There are evidently cases where the firmware completes the
reset but the interrupt isn't received correctly, so check
for the interrupt again after the timeout, and don't dump
the firmware error log if the right bit is set.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230614123446.00cc2d9b88c3.I429bfe800f17c624e50c0b0c10dd2cd7d885f199@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/pcie/trans-gen2.c