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:
parent
303f60d39b
commit
fc6997b345
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue