WPS: Update configuration file after re-enabling networks
authorJouni Malinen <jouni@qca.qualcomm.com>
Fri, 21 Dec 2012 18:11:26 +0000 (20:11 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 21 Dec 2012 18:11:26 +0000 (20:11 +0200)
commit318e772ad1ee056b3ed8f5e3fdd4037e01fe3f5e
tree1c4355e5b400f3705789b93f7de77c1ed25d1e7a
parent6fbcbc07e4bd71807c3697ff47790faaf1fd9563
WPS: Update configuration file after re-enabling networks

Network blocks are disabled during a WPS provisioning step and 10
seconds after this to allow the newly provisioned network to be
selected. The disabled=1 flag gets written to the configuration file
when the credential is added since it happens during this process.
Update the file again after the networks have been re-enabled to avoid
leaving the configuration file into state that is not consistent with
the running configuration.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/wps_supplicant.c