mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-29 16:24:03 -05:00
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
@ -3687,5 +3687,5 @@ int p2p_in_progress(struct p2p_data *p2p)
|
|||||||
{
|
{
|
||||||
if (p2p == NULL)
|
if (p2p == NULL)
|
||||||
return 0;
|
return 0;
|
||||||
return p2p->state != P2P_IDLE;
|
return p2p->state != P2P_IDLE && p2p->state != P2P_PROVISIONING;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user