]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Add debug print on stopping SA Query procedure
authorJouni Malinen <j@w1.fi>
Mon, 15 Apr 2019 21:42:09 +0000 (00:42 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 15 Apr 2019 21:42:58 +0000 (00:42 +0300)
This makes it easier to debug SA Query behavior.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/sme.c

index c33d1da735f4709f25ea28047daf2d69aceea8bf..9258a3baac32a87d7f5eff0630fbb01d13e6f621 100644 (file)
@@ -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;