Skip to content

Commit 95b922d

Browse files
committed
Miri Korenblit says: ==================== iwlwifi-fixes: fix failure in interface up ==================== Signed-off-by: Johannes Berg <[email protected]>
2 parents d87c3ca + 9359816 commit 95b922d

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

drivers/net/wireless/intel/iwlwifi/mvm/mld-mac.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ static void iwl_mvm_mld_mac_ctxt_cmd_common(struct iwl_mvm *mvm,
3232
unsigned int link_id;
3333
int cmd_ver = iwl_fw_lookup_cmd_ver(mvm->fw,
3434
WIDE_ID(MAC_CONF_GROUP,
35-
MAC_CONFIG_CMD), 0);
35+
MAC_CONFIG_CMD), 1);
3636

37-
if (WARN_ON(cmd_ver < 1 || cmd_ver > 3))
37+
if (WARN_ON(cmd_ver > 3))
3838
return;
3939

4040
cmd->id_and_color = cpu_to_le32(mvmvif->id);

0 commit comments

Comments
 (0)