P2PS: Allow PD retry in SEARCH and LISTEN_ONLY also
p2p_timeout_prov_disc_req is getting triggered in P2P_IDLE, P2P_SEARCH and P2P_LISTEN_ONLY states. Retry logic should not be limited to only P2P_IDLE state. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
87d5ef5a41
commit
ae2dd835be
1 changed files with 0 additions and 3 deletions
|
@ -3208,9 +3208,6 @@ static void p2p_retry_pd(struct p2p_data *p2p)
|
||||||
{
|
{
|
||||||
struct p2p_device *dev;
|
struct p2p_device *dev;
|
||||||
|
|
||||||
if (p2p->state != P2P_IDLE)
|
|
||||||
return;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Retry the prov disc req attempt only for the peer that the user had
|
* Retry the prov disc req attempt only for the peer that the user had
|
||||||
* requested.
|
* requested.
|
||||||
|
|
Loading…
Reference in a new issue