[PATCH 1/1] P2P: Avoid resetting pending_listen_freq if p2p_listen is pending

Jithu Jance jithujance
Thu May 22 21:37:45 PDT 2014


Hi Jouni,

> On Thu, May 22, 2014 at 03:54:30PM +0300, Jouni Malinen wrote:
>> Maybe p2p_stop_find() would need to clear pending_listen_freq to avoid
>> this? In this particular error case, the previous find operation is
>> indeed stopped by wpa_p2p_listen() calling p2p_stop_find just before
>> calling p2p_listen().
>
> That seems to have done the trick - two full test runs completed without
> any failures. I have this in the pending branch now:
> http://w1.fi/cgit/hostap/commit/?h=pending&id=5661bd0f706b542bdc3b35df5b2b391f277e1275
>
Thanks a lot for nailing this down!!



More information about the Hostap mailing list