Skip to content
Commit 0cd3daac authored by Aurelien Jarno's avatar Aurelien Jarno Committed by Christopher Friedt
Browse files

usb: truncate the most significant part of the serial number



When the Hardware Information Driver (HWINFO) provides a device ID
longer than the configured USB serial number, truncate the most
significant part instead of the least significant part. The lower part
is usually having more entropy, e.g. on STM32.

Fixes #34550

Signed-off-by: default avatarAurelien Jarno <aurelien@aurel32.net>
parent eadca022
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment