From: Ilan Peer Date: Thu, 23 Oct 2025 10:45:33 +0000 (+0300) Subject: P2P2: Update state when group owner negotiation is done X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0614908fbea3d1031d99ed1021aeee27d2c2f3c;p=thirdparty%2Fhostap.git P2P2: Update state when group owner negotiation is done When the group owner negotiation is done move the P2P state machine to idle. Signed-off-by: Ilan Peer --- diff --git a/src/p2p/p2p.c b/src/p2p/p2p.c index 711c7343c..d686708c7 100644 --- a/src/p2p/p2p.c +++ b/src/p2p/p2p.c @@ -1986,6 +1986,7 @@ void p2p_go_complete(struct p2p_data *p2p, struct p2p_device *peer) #endif /* CONFIG_PASN */ if (p2p->go_role && peer->p2p2) { + p2p_set_state(p2p, P2P_IDLE); p2p->cfg->set_go_security_config(p2p->cfg->cb_ctx, &res); p2p->go_role = false; } else {