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.
This commit is contained in:
Jouni Malinen 2011-09-29 21:48:07 +03:00 committed by Jouni Malinen
parent 303f60d39b
commit fc6997b345

View file

@ -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;
}