WPS: Add a workaround for WPA2PSK missing from Enrollee auth flags
authorJouni Malinen <j@w1.fi>
Fri, 1 Jan 2016 10:49:27 +0000 (12:49 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 1 Jan 2016 11:42:04 +0000 (13:42 +0200)
commitea319127e4ad93a62ca7b730f5698c360ae1ac88
treed83d589329938f0cdebf293674d3392312ef018b
parentdb671e0aee588f9e4f60ffa6a3c322e6b16b9c33
WPS: Add a workaround for WPA2PSK missing from Enrollee auth flags

Some deployed implementations seem to advertise incorrect information in
this attribute. A value of 0x1b (WPA2 + WPA + WPAPSK + OPEN, but no
WPA2PSK) has been reported to be used. Add WPA2PSK to the list to avoid
issues with building Credentials that do not use the strongest actually
supported authentication option (that device does support WPA2PSK even
when it does not claim it here).

Signed-off-by: Jouni Malinen <j@w1.fi>
src/wps/wps_registrar.c