[PATCH] Fix a logical error of workaround of listen failure
Jouni Malinen
j at w1.fi
Sun Jan 14 11:30:54 PST 2024
On Thu, Jan 11, 2024 at 03:49:00PM +0800, 朱海 wrote:
> when p2p->state == P2P_LISTEN_ONLY is true, the statement before it
> 'p2p->cfg->is_p2p_in_progress(p2p->cfg->cb_ctx)' will be true too,
> so this function will print a message "Operation in progress" and
> return, the workaround to handle listen failure will be never reached.
>
> I had met such error, the 'remain-on-channel' command failed, then the
> function p2p_ext_listen_timeout just printed 'Operation in progress'
> again and again, the listen was not started anymore.
Thanks, applied.
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list