sync with upstream changes

Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Felix Fietkau
2020-10-23 11:38:05 +02:00
parent 33b89f4a1b
commit 4d019c9672
9 changed files with 13 additions and 21 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ mt76_eeprom_override(struct mt76_dev *dev)
if (np)
mac = of_get_mac_address(np);
if (!IS_ERR_OR_NULL(mac))
memcpy(dev->macaddr, mac, ETH_ALEN);
ether_addr_copy(dev->macaddr, mac);
#endif
if (!is_valid_ether_addr(dev->macaddr)) {