PASN: Avoid clearing secure context for the PASN deauthentication event
PASN deauthentication event is sent by the underlying driver to delete
the keys in wpa_supplicant PTKSA cache. So don't send clear secure
context command to the driver again as it is already aware of it.
Fixes: 74d894a2
("PASN: Offload handshake for multiple peers from the driver")
Signed-off-by: Vinay Gannevaram <quic_vganneva@quicinc.com>
This commit is contained in:
parent
75a9c4bd4d
commit
a170267076
1 changed files with 2 additions and 2 deletions
|
@ -420,8 +420,8 @@ static void wpas_pasn_delete_peers(struct wpa_supplicant *wpa_s,
|
|||
|
||||
for (i = 0; i < pasn_params->num_peers; i++) {
|
||||
peer = &pasn_params->peer[i];
|
||||
wpas_pasn_deauthenticate(wpa_s, peer->own_addr,
|
||||
peer->peer_addr);
|
||||
ptksa_cache_flush(wpa_s->ptksa, peer->peer_addr,
|
||||
WPA_CIPHER_NONE);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue