Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 253429
b: refs/heads/master
c: 06866bf
h: refs/heads/master
i:
  253427: e531069
v: v3
  • Loading branch information
Daniel Hellstrom authored and David S. Miller committed Jun 11, 2011
1 parent 8a76fd0 commit 631bc3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f777737885a69d37132c956f1e8deab676693157
refs/heads/master: 06866bf5c5ad8989119a145fdb54a9fbcafa702d
2 changes: 1 addition & 1 deletion trunk/drivers/net/dl2k.c
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ parse_eeprom (struct net_device *dev)
if (np->pdev->vendor == PCI_VENDOR_ID_DLINK) { /* D-Link Only */
/* Check CRC */
crc = ~ether_crc_le (256 - 4, sromdata);
if (psrom->crc != crc) {
if (psrom->crc != cpu_to_le32(crc)) {
printk (KERN_ERR "%s: EEPROM data CRC error.\n",
dev->name);
return -1;
Expand Down

0 comments on commit 631bc3d

Please sign in to comment.