bcm57xx: Fix CRC check

This commit is contained in:
Marcus Comstedt 2020-11-28 10:08:11 +01:00 committed by Richard Hughes
parent 9e96d417a7
commit 4a74a87d1e

View File

@ -14,7 +14,7 @@
guint32
fu_bcm57xx_nvram_crc (const guint8 *buf, gsize bufsz)
{
return GUINT32_FROM_BE(fu_common_crc32 (buf, bufsz));
return GUINT32_SWAP_LE_BE (fu_common_crc32 (buf, bufsz));
}
gboolean