]> git.ipfire.org Git - thirdparty/linux.git/commit
wifi: iwlwifi: mld: don't validate keys state on resume
authorMiri Korenblit <miriam.rachel.korenblit@intel.com>
Thu, 21 Aug 2025 17:47:26 +0000 (20:47 +0300)
committerMiri Korenblit <miriam.rachel.korenblit@intel.com>
Tue, 26 Aug 2025 15:39:45 +0000 (18:39 +0300)
commit433570ee392f2f8f792a454bc2d34a4d3ce8d47d
tree1941666368a56d2cfd3df7dfeb96fb710d2c091f
parent370fc69ed95ea3547dc106fb0508651fd4478412
wifi: iwlwifi: mld: don't validate keys state on resume

When resuming, we iterate over all the (installed) keys to update the
PNs. If we find a key with an unexpected cipher we disconnect.
But there is no reason for us to validate the internal key state
specifically on resume, it should be the same as it was before the
suspend.
Remove the 'unhandled_cipher' from the iteration data.

Also remove the num_keys indication as it is not really needed.
If no keys were installed before the suspend, we will have
num_of_gtk_rekeys = 0 and we will return early anyway.

Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20250821204455.fb7e3bd4a967.I7eb24756ee27ad7b6731c0fb5dce5acb5d986694@changeid
drivers/net/wireless/intel/iwlwifi/mld/d3.c