mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-01-11 18:22:42 +01:00
monitor: Print Key ID field in the case of WPA
This commit is contained in:
parent
4f5013515d
commit
fa8c673137
@ -3815,6 +3815,10 @@ void nlmon_print_pae(struct nlmon *nlmon, const struct timeval *tv,
|
|||||||
ek->key_descriptor_version,
|
ek->key_descriptor_version,
|
||||||
ek->key_descriptor_version);
|
ek->key_descriptor_version);
|
||||||
print_attr(1, "Key Type: %s", ek->key_type ? "true" : "false");
|
print_attr(1, "Key Type: %s", ek->key_type ? "true" : "false");
|
||||||
|
|
||||||
|
if (ek->descriptor_type == EAPOL_DESCRIPTOR_TYPE_WPA)
|
||||||
|
print_attr(1, "Key Id: %u", ek->wpa_key_id);
|
||||||
|
|
||||||
print_attr(1, "Install: %s", ek->install ? "true" : "false");
|
print_attr(1, "Install: %s", ek->install ? "true" : "false");
|
||||||
print_attr(1, "Key ACK: %s", ek->key_ack ? "true" : "false");
|
print_attr(1, "Key ACK: %s", ek->key_ack ? "true" : "false");
|
||||||
print_attr(1, "Key Length: %d", L_BE16_TO_CPU(ek->key_length));
|
print_attr(1, "Key Length: %d", L_BE16_TO_CPU(ek->key_length));
|
||||||
|
Loading…
Reference in New Issue
Block a user