Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 277871
b: refs/heads/master
c: 9752915
h: refs/heads/master
i:
  277869: 135eee8
  277867: 1c2f89f
  277863: af78396
  277855: 192d7d9
v: v3
  • Loading branch information
Arend van Spriel authored and John W. Linville committed Nov 11, 2011
1 parent b4da963 commit 21e5d62
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 97b52cfd1ae0c2f7284ee36e80ea0c22000f90bf
refs/heads/master: 9752915e3ead9ce794744dde3a1c7f6f49a1e936
2 changes: 2 additions & 0 deletions trunk/drivers/net/wireless/brcm80211/brcmsmac/srom.c
Original file line number Diff line number Diff line change
Expand Up @@ -835,6 +835,8 @@ static int otp_read_pci(struct si_pub *sih, u16 *buf, uint nwords)
*/
return -ENODATA;

/* fixup the endianness so crc8 will pass */
cpu_to_le16_buf(buf, sz);
if (crc8(brcms_srom_crc8_table, (u8 *) buf, sz * 2,
CRC8_INIT_VALUE) != CRC8_GOOD_VALUE(brcms_srom_crc8_table))
err = -EIO;
Expand Down

0 comments on commit 21e5d62

Please sign in to comment.