WPS: Verify wpa_config_set() return value more consistently
authorJouni Malinen <j@w1.fi>
Tue, 1 Jan 2013 18:30:17 +0000 (20:30 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 12 Jan 2013 15:51:53 +0000 (17:51 +0200)
commit9c75e9fb810dba91b09f331076e9ac86cc402a46
tree3860ef0724d16f881bd2707f1e92633325469a21
parent559cdabb0fed79f70872e1a652a955202699126c
WPS: Verify wpa_config_set() return value more consistently

Even though this command is very unlikely to fail, in theory, it could
and the WPS connection would fail in such a case. Return more clearer
failure indication in such a case without even trying to start
reassociation.

Signed-hostap: Jouni Malinen <j@w1.fi>
wpa_supplicant/wps_supplicant.c