From: Jouni Malinen Date: Thu, 29 Sep 2011 18:48:07 +0000 (+0300) Subject: P2P: Fix group formation after previous commit X-Git-Tag: hostap-1-bp~195 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fc6997b345d97c80965725b12c52b0d225f32a1a;p=thirdparty%2Fhostap.git P2P: Fix group formation after previous commit p2p_in_progress() have to ignore P2P_PROVISIONING state to allow station mode (which includes P2P client) scan to work. --- diff --git a/src/p2p/p2p.c b/src/p2p/p2p.c index 62926b544..816196af2 100644 --- a/src/p2p/p2p.c +++ b/src/p2p/p2p.c @@ -3687,5 +3687,5 @@ int p2p_in_progress(struct p2p_data *p2p) { if (p2p == NULL) return 0; - return p2p->state != P2P_IDLE; + return p2p->state != P2P_IDLE && p2p->state != P2P_PROVISIONING; }