]> git.ipfire.org Git - thirdparty/hostap.git/commit
DPP: Clear dpp_listen_freq on remain-on-channel failure
authorJouni Malinen <jouni@codeaurora.org>
Wed, 30 Jan 2019 10:28:43 +0000 (12:28 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 30 Jan 2019 10:28:43 +0000 (12:28 +0200)
commitd8c20ec5912c8cfa93e5be623af467f89f55b888
treebfacba7bddd5db06205491cd5fe7a9b69d2b0f61
parent59fa205388aa1aa844c707e46e967e39cbdd0aba
DPP: Clear dpp_listen_freq on remain-on-channel failure

If the DPP_LISTEN command failed due to the driver rejecting the
remain-on-channel request, wpa_s->dpp_listen_freq was left set to the
requested listen frequency and this resulted in the next DPP_LISTEN for
the same frequency reporting "DPP: Already listening on .." even when
the driver was not really listening on that frequency. Fix this by
clearing wpa_s->dpp_listen_freq in the error case.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
wpa_supplicant/dpp_supplicant.c