Browse Source

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>
Krishna Vamsi 10 years ago
parent
commit
ae2dd835be
1 changed files with 0 additions and 3 deletions
  1. 0 3
      src/p2p/p2p.c

+ 0 - 3
src/p2p/p2p.c

@@ -3208,9 +3208,6 @@ static void p2p_retry_pd(struct p2p_data *p2p)
 {
 	struct p2p_device *dev;
 
-	if (p2p->state != P2P_IDLE)
-		return;
-
 	/*
 	 * Retry the prov disc req attempt only for the peer that the user had
 	 * requested.