]> git.ipfire.org Git - thirdparty/hostap.git/commit
DPP: Fix number of Authentication Request retry cases
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 23 Nov 2017 11:08:45 +0000 (13:08 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 23 Nov 2017 11:08:45 +0000 (13:08 +0200)
commit0db637ca8046332a053df7acb157ee003de48221
treea4e7824f47e3a81e7c080833443e9db6d6c99c21
parent921f5acd17240ba05639628732d86f5eaeabf3e7
DPP: Fix number of Authentication Request retry cases

Previous implementation did not handle number of sequences correctly.
Make sure the iteration continues in both unicast and broadcast cases
until the five attempts have been made. In addition, improve timing by
checking 10 second time from the beginning of each iteration round and
not the last channel on which the Auth Req frame has been transmitted.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/dpp_supplicant.c
wpa_supplicant/wpa_supplicant_i.h