aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/r6040.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/r6040.c b/drivers/net/r6040.c
index 63db065508f4..68a84198eb05 100644
--- a/drivers/net/r6040.c
+++ b/drivers/net/r6040.c
@@ -745,6 +745,9 @@ static void r6040_mac_address(struct net_device *dev)
745 iowrite16(adrp[0], ioaddr + MID_0L); 745 iowrite16(adrp[0], ioaddr + MID_0L);
746 iowrite16(adrp[1], ioaddr + MID_0M); 746 iowrite16(adrp[1], ioaddr + MID_0M);
747 iowrite16(adrp[2], ioaddr + MID_0H); 747 iowrite16(adrp[2], ioaddr + MID_0H);
748
749 /* Store MAC Address in perm_addr */
750 memcpy(dev->perm_addr, dev->dev_addr, ETH_ALEN);
748} 751}
749 752
750static int r6040_open(struct net_device *dev) 753static int r6040_open(struct net_device *dev)