From: Veerendranath Jakkam Date: Wed, 7 Aug 2024 09:06:30 +0000 (+0530) Subject: RSNO: Add debug prints for RSN override elements in EAPOL frames X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8324947a673ad0fb356bcc35a9882946262c17d5;p=thirdparty%2Fhostap.git RSNO: Add debug prints for RSN override elements in EAPOL frames Signed-off-by: Veerendranath Jakkam --- diff --git a/src/common/wpa_common.c b/src/common/wpa_common.c index f62f3a2bf..eb74c0393 100644 --- a/src/common/wpa_common.c +++ b/src/common/wpa_common.c @@ -3647,24 +3647,36 @@ static int wpa_parse_generic(const u8 *pos, struct wpa_eapol_ie_parse *ie) if (selector == RSNE_OVERRIDE_IE_VENDOR_TYPE) { ie->rsne_override = pos; ie->rsne_override_len = dlen; + wpa_hexdump(MSG_DEBUG, + "RSN: RSNE Override element in EAPOL-Key", + ie->rsne_override, ie->rsne_override_len); return 0; } if (selector == RSNE_OVERRIDE_2_IE_VENDOR_TYPE) { ie->rsne_override_2 = pos; ie->rsne_override_2_len = dlen; + wpa_hexdump(MSG_DEBUG, + "RSN: RSNE Override 2 element in EAPOL-Key", + ie->rsne_override_2, ie->rsne_override_2_len); return 0; } if (selector == RSNXE_OVERRIDE_IE_VENDOR_TYPE) { ie->rsnxe_override = pos; ie->rsnxe_override_len = dlen; + wpa_hexdump(MSG_DEBUG, + "RSN: RSNXE Override element in EAPOL-Key", + ie->rsnxe_override, ie->rsnxe_override_len); return 0; } if (selector == RSN_SELECTION_IE_VENDOR_TYPE) { ie->rsn_selection = p; ie->rsn_selection_len = left; + wpa_hexdump(MSG_DEBUG, + "RSN: RSN Selection element in EAPOL-Key", + ie->rsn_selection, ie->rsn_selection_len); return 0; }