wifi: iwlwifi: pcie: abort D3 handshake on error
authorJohannes Berg <johannes.berg@intel.com>
Wed, 11 Jun 2025 19:26:20 +0000 (22:26 +0300)
committerMiri Korenblit <miriam.rachel.korenblit@intel.com>
Wed, 25 Jun 2025 07:57:32 +0000 (10:57 +0300)
commit8689bc3fc017d445f48b6b9e80a8c2c0aa3961af
tree0c8248ad33d44b7dadec45ed16ec7bbf49037b26
parenteda36f5195d6c078e20331f1dfcf688bd6567c2b
wifi: iwlwifi: pcie: abort D3 handshake on error

The D3 handshake can be interrupted by an error, especially
on resume where we no longer want to check explicitly for
errors. Expand the sx_complete to sx_state and handle any
errors occurring during the handshake.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20250611222325.157dca92c573.I6dd3b9d2f435c2c363224aa84e373931e56a545f@changeid
drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/internal.h
drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/rx.c
drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/trans.c