mirror of
https://git.proxmox.com/git/fwupd
synced 2025-07-14 00:48:40 +00:00
wacom-usb: Legacy Bluetooth module reports version numbers in little-endian
While the modern firmware interfaces report their version numbers in big-endian form, reading the legacy Bluetooth module version via the FU_WAC_REPORT_ID_GET_FIRMWARE_VERSION_BLUETOOTH report requires us to actually parse a little-endian value. This difference was overlooked when making changes to the version parsing code in commit50a4ec70e6
. This commit restores the proper interpretation. Fixes:50a4ec70e6
(wacom_usb: Firmware versions are packed BCD, not "decimal")
This commit is contained in:
parent
9f13d8ed1e
commit
81482c3ba7
@ -654,7 +654,7 @@ fu_wac_device_add_modules_bluetooth (FuWacDevice *self, GError **error)
|
||||
}
|
||||
|
||||
if (!fu_common_read_uint16_safe (buf, sizeof(buf), 1, &fw_ver,
|
||||
G_BIG_ENDIAN, error))
|
||||
G_LITTLE_ENDIAN, error))
|
||||
return FALSE;
|
||||
version = fu_common_version_from_uint16 (fw_ver, FWUPD_VERSION_FORMAT_BCD);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user