]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Clear pending_listen_freq when stopping listen
authorAndrei Otcheretianski <andrei.otcheretianski@intel.com>
Sun, 7 Mar 2021 21:40:02 +0000 (23:40 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 12 Mar 2021 08:38:14 +0000 (10:38 +0200)
commit01f2e54ce7f201052a0af21c744b16ab03d40291
tree435561191c7d71b089c0b93be1e49e9fd0f86471
parent82a348eda46bed273eafbb94d7956a01117f0b2d
P2P: Clear pending_listen_freq when stopping listen

If listen work never started, pending_listen_freq might be left
uncleared, preventing the subsequent listen to start. This could happen
in p2p_timeout_wait_peer_idle() after the commit 13256b8cf ("P2P: Stop
old listen radio work before go to WAIT_PEER_IDLE state") added a
stop_listen() call there.

Fixes: 13256b8cf3ed ("P2P: Stop old listen radio work before go to WAIT_PEER_IDLE state")
Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
src/p2p/p2p.c