54b8f99454
The p2p->drv_in_listen variable is used to track Listen state operations in the driver. This is cleared when the driver reports that the Listen state has ended (p2p_listen_end() gets called). However, it is possible that the driver does not indicate that if the Listen state is canceled. This can apparently happen in some cases where p2p_connect command is issues while the Listen state is in progress. Work around this issue by clearing p2p->drv_in_listen when Listen state is stopped as part of p2p_stop operation. This allows the P2P module to process CONNECT_LISTEN timeout in p2p_timeout_connect_listen() to move to CONNECT state, e.g., when starting GO Negotiation after Device Discoverability mechanism. |
||
---|---|---|
.. | ||
Makefile | ||
p2p.c | ||
p2p.h | ||
p2p_build.c | ||
p2p_dev_disc.c | ||
p2p_go_neg.c | ||
p2p_group.c | ||
p2p_i.h | ||
p2p_invitation.c | ||
p2p_parse.c | ||
p2p_pd.c | ||
p2p_sd.c | ||
p2p_utils.c |