Skip to content

Commit

Permalink
cpu/stm32_common: Use luid_get_eui48 to generate local, non group EUI
Browse files Browse the repository at this point in the history
luid_get may generate non compliant EUI (MAC-address) luid_get_eui48
fixes that.
  • Loading branch information
kfessel committed Jan 29, 2020
1 parent 0d3180d commit f2eaf8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpu/stm32_common/periph/eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ int stm32_eth_init(void)
stm32_eth_set_mac(eth_config.mac);
}
else {
luid_get(hwaddr, ETHERNET_ADDR_LEN);
luid_get_eui48(hwaddr);
stm32_eth_set_mac(hwaddr);
}

Expand Down

0 comments on commit f2eaf8d

Please sign in to comment.