WPS: Update dev.config_methods in wps_update_config
dev.config_methods was not updated when wps_update_config was called. This could lead to mismatching config methods between Probe Request and M1 packets. Add missing part for it.
This commit is contained in:
parent
21270bb4b3
commit
c8b245b6a4
1 changed files with 1 additions and 0 deletions
|
@ -1761,6 +1761,7 @@ void wpas_wps_update_config(struct wpa_supplicant *wpa_s)
|
|||
}
|
||||
}
|
||||
wps->config_methods = wps_fix_config_methods(wps->config_methods);
|
||||
wps->dev.config_methods = wps->config_methods;
|
||||
|
||||
if (wpa_s->conf->changed_parameters & CFG_CHANGED_DEVICE_TYPE)
|
||||
os_memcpy(wps->dev.pri_dev_type, wpa_s->conf->device_type,
|
||||
|
|
Loading…
Reference in a new issue