mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-29 21:42:50 +01:00
monitor: Use print_ie in auth frame dumper
Do not assume that the challenge IE is present or the only IE in the authentication frame
This commit is contained in:
parent
e34af3cfac
commit
e4dc23a523
@ -3718,13 +3718,8 @@ static void print_authentication_mgmt_frame(unsigned int level,
|
||||
L_LE16_TO_CPU(body->transaction_sequence) > 3)
|
||||
return;
|
||||
|
||||
ie_tlv_iter_init(&iter, body->ies, (const uint8_t *) mmpdu + size -
|
||||
body->ies);
|
||||
ie_tlv_iter_next(&iter);
|
||||
|
||||
print_attr(level + 1, "Challenge text: \"%s\" (%u)",
|
||||
ie_tlv_iter_get_data(&iter),
|
||||
ie_tlv_iter_get_length(&iter));
|
||||
print_ie(level + 1, "IEs", body->ies,
|
||||
(const uint8_t *) mmpdu + size - body->ies);
|
||||
}
|
||||
|
||||
static void print_deauthentication_mgmt_frame(unsigned int level,
|
||||
|
Loading…
Reference in New Issue
Block a user