diff options
Diffstat (limited to 'net/rose')
-rw-r--r-- | net/rose/rose_dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rose/rose_dev.c b/net/rose/rose_dev.c index 051804fbee17..2a35e188b389 100644 --- a/net/rose/rose_dev.c +++ b/net/rose/rose_dev.c @@ -69,7 +69,7 @@ static int rose_set_mac_address(struct net_device *dev, void *addr) rose_del_loopback_node((rose_address *)dev->dev_addr); } - memcpy(dev->dev_addr, sa->sa_data, dev->addr_len); + dev_addr_set(dev, sa->sa_data); return 0; } |