WPS: Fix WPS build with ER support disabled
This commit is contained in:
parent
6ae225726f
commit
d3a42e1240
1 changed files with 2 additions and 0 deletions
|
@ -815,8 +815,10 @@ void wpas_wps_deinit(struct wpa_supplicant *wpa_s)
|
|||
os_free(wpa_s->wps);
|
||||
wpa_s->wps = NULL;
|
||||
|
||||
#ifdef CONFIG_WPS_ER
|
||||
wps_er_deinit(wpa_s->wps_er);
|
||||
wpa_s->wps_er = NULL;
|
||||
#endif /* CONFIG_WPS_ER */
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue