diff options
Diffstat (limited to 'drivers/net/lguest_net.c')
-rw-r--r-- | drivers/net/lguest_net.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/net/lguest_net.c b/drivers/net/lguest_net.c index abce2ee8430a..e255476f224f 100644 --- a/drivers/net/lguest_net.c +++ b/drivers/net/lguest_net.c | |||
@@ -463,12 +463,7 @@ static int lguestnet_probe(struct lguest_device *lgdev) | |||
463 | /* Ethernet defaults with some changes */ | 463 | /* Ethernet defaults with some changes */ |
464 | ether_setup(dev); | 464 | ether_setup(dev); |
465 | dev->set_mac_address = NULL; | 465 | dev->set_mac_address = NULL; |
466 | 466 | random_ether_addr(dev->dev_addr); | |
467 | dev->dev_addr[0] = 0x02; /* set local assignment bit (IEEE802) */ | ||
468 | dev->dev_addr[1] = 0x00; | ||
469 | memcpy(&dev->dev_addr[2], &lguest_data.guestid, 2); | ||
470 | dev->dev_addr[4] = 0x00; | ||
471 | dev->dev_addr[5] = 0x00; | ||
472 | 467 | ||
473 | dev->open = lguestnet_open; | 468 | dev->open = lguestnet_open; |
474 | dev->stop = lguestnet_close; | 469 | dev->stop = lguestnet_close; |