mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-14 12:35:57 +00:00
bcm57xx: Fix CRC check
This commit is contained in:
parent
9e96d417a7
commit
4a74a87d1e
@ -14,7 +14,7 @@
|
|||||||
guint32
|
guint32
|
||||||
fu_bcm57xx_nvram_crc (const guint8 *buf, gsize bufsz)
|
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
|
gboolean
|
||||||
|
Loading…
Reference in New Issue
Block a user