P2P Clear p2p_scan_running on P2P_STOP_FIND call

Jouni Malinen j
Sun Dec 21 13:33:15 PST 2014

On Fri, Dec 19, 2014 at 11:03:41AM +0000, Trivelly, Jean wrote:
> Could you please review this patch ?

Why would this be needed? P2P_STOP_FIND changes wpa_s->scan_res_handler
to point to wpas_p2p_scan_res_ignore_search() and that function calls
p2p_scan_res_handled() which clears p2p->p2p_scan_running at the point
when the scan has actually completed. It would be incorrect to clear
this flag while the driver is still running the actual scan operation.

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list