Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ca55eb47 authored by Eran Harary's avatar Eran Harary Committed by Emmanuel Grumbach
Browse files

iwlwifi: 8000: drop a print when the address is invalid



when driver takes the MAC address from the HW section and
it isn't valid - print an error.

Signed-off-by: default avatarEran Harary <eran.harary@intel.com>
Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
parent b14fc2be
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -549,6 +549,9 @@ static void iwl_set_hw_address_family_8000(struct device *dev,
			data->hw_addr[1] = hw_addr[2];
			data->hw_addr[0] = hw_addr[3];
		}
		if (!is_valid_ether_addr(data->hw_addr))
			IWL_ERR_DEV(dev,
				    "mac address from hw section is not valid\n");

		return;
	}