diff options
Diffstat (limited to 'arch/um/drivers/net_kern.c')
-rw-r--r-- | arch/um/drivers/net_kern.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/um/drivers/net_kern.c b/arch/um/drivers/net_kern.c index c067abbbfd97..16aa572325c9 100644 --- a/arch/um/drivers/net_kern.c +++ b/arch/um/drivers/net_kern.c | |||
@@ -310,9 +310,7 @@ static void setup_etheraddr(char *str, unsigned char *addr) | |||
310 | return; | 310 | return; |
311 | 311 | ||
312 | random: | 312 | random: |
313 | addr[0] = 0xfe; | 313 | random_ether_addr(addr) |
314 | addr[1] = 0xfd; | ||
315 | random_mac(addr); | ||
316 | } | 314 | } |
317 | 315 | ||
318 | static DEFINE_SPINLOCK(devices_lock); | 316 | static DEFINE_SPINLOCK(devices_lock); |