mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-25 17:59:25 +01:00
iwmon: Fix PMKID display
Use unsigned to prevent the PMKID bytes being sign-extended.
This commit is contained in:
parent
755605fddf
commit
a1f1046dcb
@ -788,9 +788,9 @@ static void print_ie_rsn(unsigned int level, const char *label,
|
||||
goto end;
|
||||
|
||||
for (i = 0; i < count; i += 16) {
|
||||
const char *bytes = data;
|
||||
const uint8_t *bytes = data;
|
||||
|
||||
print_attr(level + 1, "PKMKID: %02x:%02x:%02x:%02x:"
|
||||
print_attr(level + 1, "PMKID: %02x:%02x:%02x:%02x:"
|
||||
"%02x:%02x:%02x:%02x:%02x:%02x:%02x:%02x:"
|
||||
"%02x:%02x:%02x:%02x",
|
||||
bytes[i], bytes[i + 1],
|
||||
|
Loading…
Reference in New Issue
Block a user