hostap/src/p2p
Purushottam Kushwaha f2a6ac63ee P2P: Update find_start timer only when p2p_scan is started.
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>
2019-02-07 11:56:35 +02:00
..
Makefile tests: Add p2p-fuzzer 2015-04-22 11:44:19 +03:00
p2p.c P2P: Update find_start timer only when p2p_scan is started. 2019-02-07 11:56:35 +02:00
p2p.h P2P: Allow the avoid channels for P2P discovery/negotiation 2019-01-30 12:15:19 +02:00
p2p_build.c P2PS: Correct config_methods for different P2P cases 2016-05-19 19:16:10 +03:00
p2p_dev_disc.c P2PS: Refactor p2p_data::query_hash and p2p_data::query_count use 2015-06-15 17:30:01 +03:00
p2p_go_neg.c P2P: Verify local driver preferred frequencies for P2P use cases 2017-02-16 12:40:57 +02:00
p2p_group.c WFD: Add WFD R2 Subelements 2017-03-01 11:59:57 +02:00
p2p_i.h P2P: Allow the avoid channels for P2P discovery/negotiation 2019-01-30 12:15:19 +02:00
p2p_invitation.c P2P: Allow the avoid channels for P2P discovery/negotiation 2019-01-30 12:15:19 +02:00
p2p_parse.c P2P: Filter control chars in group client device name similarly to peer 2015-10-26 23:43:45 +02:00
p2p_pd.c P2P: Clear old P2PS provision data 2016-10-29 00:55:49 +03:00
p2p_sd.c P2P: Do not use wait_time for SD Response TX for last fragmentation 2017-04-01 14:25:26 +03:00
p2p_utils.c P2P: Allow the avoid channels for P2P discovery/negotiation 2019-01-30 12:15:19 +02:00