wifi: iwlwifi: mvm: iterate over interfaces after an assert in d3
authorYedidya Benshimol <yedidya.ben.shimol@intel.com>
Tue, 6 Sep 2022 13:42:18 +0000 (16:42 +0300)
committerGregory Greenman <gregory.greenman@intel.com>
Sun, 18 Sep 2022 11:40:17 +0000 (14:40 +0300)
commit4a0e642228379e6329e36b932749c59497109ade
treec665eb673cae9168829f05cc2a32226761f4c7a7
parentb75dac847c9453d017d463a97e253416abf93d36
wifi: iwlwifi: mvm: iterate over interfaces after an assert in d3

In recent patches notifications based d3 resume flow was added,
and the resume flow was changed.

Currently, when resuming from d3 during which an assert was thrown,
the resume flow skips the iteration over active interfaces
preventing the sta to reconnect to the ap.

Perform the iteration in case an assert was thrown to fix it.

Signed-off-by: Yedidya Benshimol <yedidya.ben.shimol@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20220906161827.ad888cc6cd91.Ib56e416fce17df089edf76d22896430df5ebe080@changeid
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/d3.c