diff --git a/wpa_supplicant/gas_query.c b/wpa_supplicant/gas_query.c index 65dec2b14..fdb36df10 100644 --- a/wpa_supplicant/gas_query.c +++ b/wpa_supplicant/gas_query.c @@ -319,7 +319,10 @@ static void gas_query_tx_comeback_req_delay(struct gas_query *gas, { unsigned int secs, usecs; - offchannel_send_action_done(gas->wpa_s); + if (query->offchannel_tx_started) { + offchannel_send_action_done(gas->wpa_s); + query->offchannel_tx_started = 0; + } secs = (comeback_delay * 1024) / 1000000; usecs = comeback_delay * 1024 - secs * 1000000;