summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/seeq/sgiseeq.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/seeq/sgiseeq.c')
-rw-r--r--drivers/net/ethernet/seeq/sgiseeq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/seeq/sgiseeq.c b/drivers/net/ethernet/seeq/sgiseeq.c
index 16f7410bb714..96065dfc747b 100644
--- a/drivers/net/ethernet/seeq/sgiseeq.c
+++ b/drivers/net/ethernet/seeq/sgiseeq.c
@@ -167,7 +167,7 @@ static int sgiseeq_set_mac_address(struct net_device *dev, void *addr)
struct sgiseeq_private *sp = netdev_priv(dev);
struct sockaddr *sa = addr;
- memcpy(dev->dev_addr, sa->sa_data, dev->addr_len);
+ eth_hw_addr_set(dev, sa->sa_data);
spin_lock_irq(&sp->tx_lock);
__sgiseeq_set_mac_address(dev);