Save config after blob updates from EAP (if update_config=1)
This allows EAP-FAST PAC updates to be stored when using config blobs instead of external files.
This commit is contained in:
parent
5373c18233
commit
c08b9180cd
1 changed files with 7 additions and 0 deletions
|
@ -36,6 +36,13 @@ static void wpa_supplicant_set_config_blob(void *ctx,
|
||||||
{
|
{
|
||||||
struct wpa_supplicant *wpa_s = ctx;
|
struct wpa_supplicant *wpa_s = ctx;
|
||||||
wpa_config_set_blob(wpa_s->conf, blob);
|
wpa_config_set_blob(wpa_s->conf, blob);
|
||||||
|
if (wpa_s->conf->update_config) {
|
||||||
|
int ret = wpa_config_write(wpa_s->confname, wpa_s->conf);
|
||||||
|
if (ret) {
|
||||||
|
wpa_printf(MSG_DEBUG, "Failed to update config after "
|
||||||
|
"blob set");
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue