From 1ca5c2ec2a861a04b7ccd8f055e191da71eef1e2 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 6 Nov 2022 17:11:35 +0200 Subject: [PATCH] PASN: Fix spelling of RSNE in debug messages Signed-off-by: Jouni Malinen --- src/ap/ieee802_11.c | 4 ++-- src/pasn/pasn_initiator.c | 4 ++-- src/pasn/pasn_responder.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/ap/ieee802_11.c b/src/ap/ieee802_11.c index cadefa865..c168786f9 100644 --- a/src/ap/ieee802_11.c +++ b/src/ap/ieee802_11.c @@ -2422,7 +2422,7 @@ static int pasn_wd_handle_fils(struct hostapd_data *hapd, struct sta_info *sta, ret = wpa_parse_wpa_ie_rsn(elems.rsn_ie - 2, elems.rsn_ie_len + 2, &rsne_data); if (ret) { - wpa_printf(MSG_DEBUG, "PASN: FILS: Failed parsing RNSE"); + wpa_printf(MSG_DEBUG, "PASN: FILS: Failed parsing RSNE"); return -1; } @@ -2578,7 +2578,7 @@ static void hapd_pasn_update_params(struct hostapd_data *hapd, if (!elems.rsn_ie || wpa_parse_wpa_ie_rsn(elems.rsn_ie - 2, elems.rsn_ie_len + 2, &rsn_data)) { - wpa_printf(MSG_DEBUG, "PASN: Failed parsing RNSE"); + wpa_printf(MSG_DEBUG, "PASN: Failed parsing RSNE"); return; } diff --git a/src/pasn/pasn_initiator.c b/src/pasn/pasn_initiator.c index 90733c8cf..5885b045c 100644 --- a/src/pasn/pasn_initiator.c +++ b/src/pasn/pasn_initiator.c @@ -349,7 +349,7 @@ static int wpas_pasn_wd_fils_rx(struct pasn_data *pasn, struct wpabuf *wd) ret = wpa_parse_wpa_ie(elems.rsn_ie - 2, elems.rsn_ie_len + 2, &rsne_data); if (ret) { - wpa_printf(MSG_DEBUG, "PASN: FILS: Failed parsing RNSE"); + wpa_printf(MSG_DEBUG, "PASN: FILS: Failed parsing RSNE"); return -1; } @@ -1140,7 +1140,7 @@ int wpa_pasn_auth_rx(struct pasn_data *pasn, const u8 *data, size_t len, ret = wpa_parse_wpa_ie(elems.rsn_ie - 2, elems.rsn_ie_len + 2, &rsn_data); if (ret) { - wpa_printf(MSG_DEBUG, "PASN: Failed parsing RNSE"); + wpa_printf(MSG_DEBUG, "PASN: Failed parsing RSNE"); goto fail; } diff --git a/src/pasn/pasn_responder.c b/src/pasn/pasn_responder.c index bffff51d9..35a88f327 100644 --- a/src/pasn/pasn_responder.c +++ b/src/pasn/pasn_responder.c @@ -624,7 +624,7 @@ int handle_auth_pasn_1(struct pasn_data *pasn, ret = wpa_parse_wpa_ie_rsn(elems.rsn_ie - 2, elems.rsn_ie_len + 2, &rsn_data); if (ret) { - wpa_printf(MSG_DEBUG, "PASN: Failed parsing RNSE"); + wpa_printf(MSG_DEBUG, "PASN: Failed parsing RSNE"); status = WLAN_STATUS_INVALID_RSNIE; goto send_resp; }