From f2eaf8df2750d4312b07e943a11ee47628ec492a Mon Sep 17 00:00:00 2001 From: Karl Fessel Date: Wed, 29 Jan 2020 14:58:06 +0100 Subject: [PATCH] cpu/stm32_common: Use luid_get_eui48 to generate local, non group EUI luid_get may generate non compliant EUI (MAC-address) luid_get_eui48 fixes that. --- cpu/stm32_common/periph/eth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu/stm32_common/periph/eth.c b/cpu/stm32_common/periph/eth.c index 0fb9728a69943..7d6703ad1d167 100644 --- a/cpu/stm32_common/periph/eth.c +++ b/cpu/stm32_common/periph/eth.c @@ -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); }