diff options
Diffstat (limited to 'drivers/net/ksz884x.c')
-rw-r--r-- | drivers/net/ksz884x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ksz884x.c b/drivers/net/ksz884x.c index 41ea5920c15..95b6664e936 100644 --- a/drivers/net/ksz884x.c +++ b/drivers/net/ksz884x.c | |||
@@ -5679,7 +5679,7 @@ static int netdev_set_mac_address(struct net_device *dev, void *addr) | |||
5679 | memcpy(hw->override_addr, mac->sa_data, MAC_ADDR_LEN); | 5679 | memcpy(hw->override_addr, mac->sa_data, MAC_ADDR_LEN); |
5680 | } | 5680 | } |
5681 | 5681 | ||
5682 | memcpy(dev->dev_addr, mac->sa_data, MAX_ADDR_LEN); | 5682 | memcpy(dev->dev_addr, mac->sa_data, ETH_ALEN); |
5683 | 5683 | ||
5684 | interrupt = hw_block_intr(hw); | 5684 | interrupt = hw_block_intr(hw); |
5685 | 5685 | ||