qcacmn: Fix ML peer state update for PMF stations

In current code, deauth is skipped for PMF clients
but ML peer state is updated for PMF clients also

This fix skips ML Peer state update for PMF clients

Change-Id: I41c870a5ff4bb658f378b65c729947fad324e807
CRs-Fixed: 3261671
This commit is contained in:
Srinivas Pitla
2022-08-18 23:38:58 -07:00
committed by Madan Koyyalamudi
parent 1b1b3adbea
commit 0f6b60eed6

View File

@@ -330,7 +330,6 @@ wlan_mlo_peer_deauth_init(struct wlan_mlo_peer_context *ml_peer)
return;
}
ml_peer->mlpeer_state = ML_PEER_DISCONN_INITIATED;
ml_dev = ml_peer->ml_dev;
for (i = 0; i < MAX_MLO_LINK_PEERS; i++) {
@@ -354,6 +353,9 @@ wlan_mlo_peer_deauth_init(struct wlan_mlo_peer_context *ml_peer)
link_peers[i] = link_peer;
}
ml_peer->mlpeer_state = ML_PEER_DISCONN_INITIATED;
mlo_peer_lock_release(ml_peer);
for (i = 0; i < MAX_MLO_LINK_PEERS; i++) {