From 0866ed004de6c3dbe5d9adcf555692393006d987 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sat, 22 Oct 2016 22:47:30 +0300 Subject: [PATCH] WPA: Add debug print for not-update-own-IEs case This makes it easier to understand debug logs related to own WPA/RSN IE selection. Signed-off-by: Jouni Malinen --- src/rsn_supp/wpa.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/rsn_supp/wpa.c b/src/rsn_supp/wpa.c index 63ebd700b..c2fc94fee 100644 --- a/src/rsn_supp/wpa.c +++ b/src/rsn_supp/wpa.c @@ -2867,6 +2867,10 @@ int wpa_sm_set_assoc_wpa_ie_default(struct wpa_sm *sm, u8 *wpa_ie, os_memcpy(sm->assoc_wpa_ie, wpa_ie, *wpa_ie_len); sm->assoc_wpa_ie_len = *wpa_ie_len; + } else { + wpa_hexdump(MSG_DEBUG, + "WPA: Leave previously set WPA IE default", + sm->assoc_wpa_ie, sm->assoc_wpa_ie_len); } return 0;