]> git.ipfire.org Git - thirdparty/hostap.git/commit
WPS: Send the credential when learning AP params in registrar role
authorOlivier Sobrie <olivier@sobrie.be>
Sun, 30 Oct 2011 20:10:40 +0000 (22:10 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 30 Oct 2011 20:10:40 +0000 (22:10 +0200)
commit6f75536fc9d3b05b049e2a0028a3ffd7da78e1c3
tree9826ead3d8ed7ca753a22b5849d6ff023db49bae
parent9339bd5cd2d3e05d56bf6f1fbf631acad8bddf7e
WPS: Send the credential when learning AP params in registrar role

When the supplicant acts as a registrar to learn the access point
parameters send the credentials to the wpa_cli interface after
receiving the 7th message. This is needed for proper behavior with
wps_cred_processing set to 1 or 2.

Without this patch, after the 7th message you got the WPS-CRED-RECEIVED
notification without the credentials. This was because the cred_attr and
cred_attr_len were not filled in in the wps structure.

Signed-off-by: Olivier Sobrie <olivier@sobrie.be>
src/wps/wps_registrar.c