WPS: Reject AP settings with invalid network key (PSK/passphrase)
authorJouni Malinen <jouni@qca.qualcomm.com>
Wed, 5 Aug 2015 20:52:10 +0000 (23:52 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 6 Aug 2015 17:47:25 +0000 (20:47 +0300)
commit7e97d813ee4d1886816f0c03443c5bf8b27e2966
tree83950060af1f3971b6cd86b0cd3dfab93e33502e
parent133716a7227c408f54d8a1eeaafc5f198ab5691b
WPS: Reject AP settings with invalid network key (PSK/passphrase)

This is similar to the earlier commit
b363121a208e3d18fe80682430a5f50cefaa3595 ('WPS: Reject invalid
credential more cleanly'), but for the AP cases where AP settings are
being replaced. Previously, the new settings were taken into use even if
the invalid PSK/passphrase had to be removed. Now, the settings are
rejected with such an invalid configuration.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/ap/wps_hostapd.c
src/wps/wps_enrollee.c