diff options
-rw-r--r-- | drivers/net/ne2k-pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ne2k-pci.c b/drivers/net/ne2k-pci.c index 7d83896b8c26..3fcebb70151c 100644 --- a/drivers/net/ne2k-pci.c +++ b/drivers/net/ne2k-pci.c | |||
@@ -374,7 +374,7 @@ static int __devinit ne2k_pci_init_one (struct pci_dev *pdev, | |||
374 | dev->ethtool_ops = &ne2k_pci_ethtool_ops; | 374 | dev->ethtool_ops = &ne2k_pci_ethtool_ops; |
375 | NS8390_init(dev, 0); | 375 | NS8390_init(dev, 0); |
376 | 376 | ||
377 | memcpy(dev->dev_addr, SA_prom, 6); | 377 | memcpy(dev->dev_addr, SA_prom, dev->addr_len); |
378 | memcpy(dev->perm_addr, dev->dev_addr, dev->addr_len); | 378 | memcpy(dev->perm_addr, dev->dev_addr, dev->addr_len); |
379 | 379 | ||
380 | i = register_netdev(dev); | 380 | i = register_netdev(dev); |