Prechádzať zdrojové kódy

qcacld-3.0: Clear previous peer level t2lm negotiation

When handling T2LM action request frame, clear the previous
ml peer level t2lm negotiation before applying new tid mapping
to FW.

Change-Id: Ie7f7a28fb7cf886778cd697605352c4ff47d18fd
CRs-Fixed: 3487089
Amruta Kulkarni 1 rok pred
rodič
commit
24a9f574fb

+ 1 - 0
components/umac/mlme/mlo_mgr/src/wlan_t2lm_api.c

@@ -148,6 +148,7 @@ QDF_STATUS t2lm_handle_rx_req(struct wlan_objmgr_vdev *vdev,
 
 	if (QDF_IS_STATUS_SUCCESS(status) &&
 	    t2lm_req.t2lm_info[dir].direction != WLAN_T2LM_INVALID_DIRECTION) {
+		wlan_t2lm_clear_peer_negotiation(peer);
 		/* Apply T2LM config to peer T2LM ctx */
 		t2lm_info = &ml_peer->t2lm_policy.t2lm_negotiated_info.t2lm_info[dir];
 		qdf_mem_copy(t2lm_info, &t2lm_req.t2lm_info[dir],