projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Staging: et131x: config is already zeroed
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
drivers
/
net
/
ne2k-pci.c
diff --git
a/drivers/net/ne2k-pci.c
b/drivers/net/ne2k-pci.c
index 7d83896b8c2614a1289a10526e5875f0fb388f3c..3fcebb70151c82fbbab06026f2dc636f3baff7d9 100644
(file)
--- 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,
dev->ethtool_ops = &ne2k_pci_ethtool_ops;
NS8390_init(dev, 0);
- memcpy(dev->dev_addr, SA_prom,
6
);
+ memcpy(dev->dev_addr, SA_prom,
dev->addr_len
);
memcpy(dev->perm_addr, dev->dev_addr, dev->addr_len);
i = register_netdev(dev);