iwlwifi: mvm: fix assert 1F04 upon reconfig
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 17 May 2022 09:05:09 +0000 (12:05 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jun 2022 08:21:22 +0000 (10:21 +0200)
commitc1ad58de1300be1081de3023ec225f40f16ebc73
treeef25029cb618bd6ec58645577e9384b8a40be3d6
parent6118bbdf69f4718b02d26bbcf2e497eb66004331
iwlwifi: mvm: fix assert 1F04 upon reconfig

commit 9d096e3d3061dbf4ee10e2b59fc2c06e05bdb997 upstream.

When we reconfig we must not send the MAC_POWER command that relates to
a MAC that was not yet added to the firmware.

Ignore those in the iterator.

Cc: stable@vger.kernel.org
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20220517120044.ed2ffc8ce732.If786e19512d0da4334a6382ea6148703422c7d7b@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/intel/iwlwifi/mvm/power.c