mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
Add debug print on stopping SA Query procedure
This makes it easier to debug SA Query behavior. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
710c692381
commit
7a206c504f
@ -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)
|
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);
|
eloop_cancel_timeout(sme_sa_query_timer, wpa_s, NULL);
|
||||||
os_free(wpa_s->sme.sa_query_trans_id);
|
os_free(wpa_s->sme.sa_query_trans_id);
|
||||||
wpa_s->sme.sa_query_trans_id = NULL;
|
wpa_s->sme.sa_query_trans_id = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user