p2p->find_start timer was updated on each p2p_find call irrespective of p2p_find being successful/failed/rejected. For cases where p2p_find was in progress/pending, another call to p2p_find would be rejected but p2p->find_start timer would still be updated. p2p->find_start is maintained in wpa_supplicant to reject the kernel scan entries before the p2p->find_start time. In above scenario, some of the scan entries could be discarded even if the Probe Respons frame(s) were received during the last scan/p2p_find. This commit changes this to update the p2p->find_start timer only when call to p2p_find is successful, i.e., a new scan is actually started. Signed-off-by: Jouni Malinen <jouni@codeaurora.org> |
||
|---|---|---|
| .. | ||
| 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 | ||