]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
WPA: Add debug print for not-update-own-IEs case
authorJouni Malinen <jouni@qca.qualcomm.com>
Sat, 22 Oct 2016 19:47:30 +0000 (22:47 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 22 Oct 2016 19:55:27 +0000 (22:55 +0300)
This makes it easier to understand debug logs related to own WPA/RSN IE
selection.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/rsn_supp/wpa.c

index 63ebd700b5d9545d33016836dfd9ce775e218bb9..c2fc94fee34425294743a3327c4c9ee7cb0ed863 100644 (file)
@@ -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;