]> git.baikalelectronics.ru Git - kernel.git/commit
bcma: don't fail for bad SPROM CRC
authorHenrik Rydberg <rydberg@euromail.se>
Tue, 31 Jan 2012 19:22:15 +0000 (14:22 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 6 Feb 2012 19:37:52 +0000 (14:37 -0500)
commitb5307a270e1adf7f61dc2b338cedd4b5c0c78cde
treeb3449cb7f50dea8daca3f0f9170886c9ae11fce8
parent79676bc1885d8b92bd5f43b28e1761fb767a07d5
bcma: don't fail for bad SPROM CRC

The brcmsmac driver is now using the bcma SPROM CRC check, which does
not recognize all chipsets that were functional prior to the switch. In
particular, the current code bails out on odd CRC errors in recent
Macbooks. This patch ignores those errors, with the argument that an
unrecognized SPROM should be treated similarly to a non-existing one.

Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/bcma/main.c