Skip to content

Commit c1ad58d

Browse files
egrumbachgregkh
authored andcommitted
iwlwifi: mvm: fix assert 1F04 upon reconfig
commit 9d096e3 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: [email protected] Signed-off-by: Emmanuel Grumbach <[email protected]> Signed-off-by: Gregory Greenman <[email protected]> Link: https://lore.kernel.org/r/20220517120044.ed2ffc8ce732.If786e19512d0da4334a6382ea6148703422c7d7b@changeid Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 6118bbd commit c1ad58d

File tree

1 file changed

+3
-0
lines changed
  • drivers/net/wireless/intel/iwlwifi/mvm

1 file changed

+3
-0
lines changed

drivers/net/wireless/intel/iwlwifi/mvm/power.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -621,6 +621,9 @@ static void iwl_mvm_power_get_vifs_iterator(void *_data, u8 *mac,
621621
struct iwl_power_vifs *power_iterator = _data;
622622
bool active = mvmvif->phy_ctxt && mvmvif->phy_ctxt->id < NUM_PHY_CTX;
623623

624+
if (!mvmvif->uploaded)
625+
return;
626+
624627
switch (ieee80211_vif_type_p2p(vif)) {
625628
case NL80211_IFTYPE_P2P_DEVICE:
626629
break;

0 commit comments

Comments
 (0)