[PATCH] Clear pending_listen_freq if listen failed
Jouni Malinen
j at w1.fi
Sun Feb 9 03:56:08 PST 2025
On Wed, Jan 31, 2024 at 08:58:47PM +0800, 朱海 wrote:
>
> p2p_listen use p2p->pending_listen_freq to check if having a pending p2p_listen request.
> but this value is not cleared when listen started failed, making extended
> listen not work anymore.
>
> P2P: Failed to request the driver to remain on channel (2412 MHz) for Listen state
> p2p-dev-wlan0: Radio work 'p2p-listen'@0xa800d510 done in 0.005055 seconds
> p2p-dev-wlan0: radio_work_free('p2p-listen'@0xa800d510: num_active_works --> 0
> P2P: Previous Extended Listen operation had not been completed - try again
> P2P: State LISTEN_ONLY -> IDLE
> P2P: Extended Listen timeout
> P2P: Going to listen(only) state
> P2P: p2p_listen command pending already
Thanks, applied.
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list