From: Jouni Malinen Date: Mon, 15 Apr 2019 21:42:09 +0000 (+0300) Subject: Add debug print on stopping SA Query procedure X-Git-Tag: hostap_2_8~54 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7a206c504f093ae5773ff37c5579a4de102db02f;p=thirdparty%2Fhostap.git Add debug print on stopping SA Query procedure This makes it easier to debug SA Query behavior. Signed-off-by: Jouni Malinen --- diff --git a/wpa_supplicant/sme.c b/wpa_supplicant/sme.c index c33d1da73..9258a3baa 100644 --- a/wpa_supplicant/sme.c +++ b/wpa_supplicant/sme.c @@ -2400,6 +2400,8 @@ static void sme_start_sa_query(struct wpa_supplicant *wpa_s) static void sme_stop_sa_query(struct wpa_supplicant *wpa_s) { + if (wpa_s->sme.sa_query_trans_id) + wpa_dbg(wpa_s, MSG_DEBUG, "SME: Stop SA Query"); eloop_cancel_timeout(sme_sa_query_timer, wpa_s, NULL); os_free(wpa_s->sme.sa_query_trans_id); wpa_s->sme.sa_query_trans_id = NULL;