SME: MLD: Deauthenticate when failing to parse ML element
If parsing the basic ML element in the Authenticate frame fails, instead of only disassociating, completely deauthenticate so all state machines would be in a consistent state. Signed-off-by: Ilan Peer <ilan.peer@intel.com>
This commit is contained in:
parent
6f3e7c5d3e
commit
39fefeada6
1 changed files with 2 additions and 1 deletions
|
@ -2156,7 +2156,8 @@ void sme_event_auth(struct wpa_supplicant *wpa_s, union wpa_event_data *data)
|
||||||
MAC2STR(wpa_s->pending_bssid),
|
MAC2STR(wpa_s->pending_bssid),
|
||||||
WLAN_REASON_DEAUTH_LEAVING);
|
WLAN_REASON_DEAUTH_LEAVING);
|
||||||
wpas_connection_failed(wpa_s, wpa_s->pending_bssid, NULL);
|
wpas_connection_failed(wpa_s, wpa_s->pending_bssid, NULL);
|
||||||
wpa_supplicant_mark_disassoc(wpa_s);
|
wpa_supplicant_deauthenticate(wpa_s,
|
||||||
|
WLAN_REASON_DEAUTH_LEAVING);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue