diff options
Diffstat (limited to 'drivers/net/ethernet/adi')
-rw-r--r-- | drivers/net/ethernet/adi/bfin_mac.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/adi/bfin_mac.c b/drivers/net/ethernet/adi/bfin_mac.c index c1fdb8be8bee..8c3c9cfbf864 100644 --- a/drivers/net/ethernet/adi/bfin_mac.c +++ b/drivers/net/ethernet/adi/bfin_mac.c | |||
@@ -647,7 +647,6 @@ static int bfin_mac_set_mac_address(struct net_device *dev, void *p) | |||
647 | if (netif_running(dev)) | 647 | if (netif_running(dev)) |
648 | return -EBUSY; | 648 | return -EBUSY; |
649 | memcpy(dev->dev_addr, addr->sa_data, dev->addr_len); | 649 | memcpy(dev->dev_addr, addr->sa_data, dev->addr_len); |
650 | dev->addr_assign_type &= ~NET_ADDR_RANDOM; | ||
651 | setup_mac_addr(dev->dev_addr); | 650 | setup_mac_addr(dev->dev_addr); |
652 | return 0; | 651 | return 0; |
653 | } | 652 | } |