[PATCH v2] DPP: Abort stale offchannel action tx when stopping dpp push button

Wonseok Kim wonseok.kim at morsemicro.com
Tue Jun 30 22:34:48 PDT 2026


Receiving tx status after stopping dpp push button session may
cause the supplicant to continue the stale session.

Calling offchannel_send_action_done() cleans up the stale offchannel
action frame transmission as well as stale remain on channel operation.

Signed-off-by: Wonseok Kim <wonseok.kim at morsemicro.com>
---
 wpa_supplicant/dpp_supplicant.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/wpa_supplicant/dpp_supplicant.c b/wpa_supplicant/dpp_supplicant.c
index 6a3bf6a3e..b2bae1e20 100644
--- a/wpa_supplicant/dpp_supplicant.c
+++ b/wpa_supplicant/dpp_supplicant.c
@@ -5847,6 +5847,8 @@ void wpas_dpp_push_button_stop(struct wpa_supplicant *wpa_s)
 		wpas_abort_ongoing_scan(wpa_s);
 		wpa_s->scan_res_handler = NULL;
 	}
+
+	offchannel_send_action_done(wpa_s);
 }
 
 #endif /* CONFIG_DPP3 */
-- 
2.54.0




More information about the Hostap mailing list