You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Endians are not accounted for QCA6174/QCA9888 data formats, so we got
wrong length/checksum value on a BigEndian CPUs. Error also should
manifest themself with BigEndian encoded data on LittleEndian CPUs, but
I never saw BigEndian encoded data for these chips.
In order to correctly output multibyte field values utilizes the same
approach as was used for other EEPROM formats (e.g. AR5416, QCA9880,
etc.). Turn field endians to a native CPU endian during data checking
stage, before any prints. We still do not know location of the flag,
that indicates BigEndian encoded data, so assume that data is always
LittleEndian encoded. So we perform endian corrections only on BigEndian
hosts.
Fixes: d178e35 ("Add stub QCA6174 support")
Fixes: 73ecd8c ("Add stub QCA9888 support")
0 commit comments