atheros: Clear WPS appie during deinit
The WPS IE(s) need to be cleared from the driver explicitly. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
857d94225a
commit
1de071007e
4 changed files with 20 additions and 4 deletions
|
@ -856,8 +856,10 @@ static void hostapd_wps_clear_ies(struct hostapd_data *hapd, int deinit_only)
|
|||
wpabuf_free(hapd->wps_probe_resp_ie);
|
||||
hapd->wps_probe_resp_ie = NULL;
|
||||
|
||||
if (deinit_only)
|
||||
if (deinit_only) {
|
||||
hostapd_reset_ap_wps_ie(hapd);
|
||||
return;
|
||||
}
|
||||
|
||||
hostapd_set_ap_wps_ie(hapd);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue