소스 검색

qcacmn: Reset primary umac bit in assoc peer

In current code, assoc peer is designated as primry umac,
on primary umac allocation, primary umac bit gets reset.
But in force umac case, primary umac bit not getting reset.

This change resets primary umac bit of assoc peer, if
assoc peer is not designated primary UMAC.

Change-Id: I640433548b9efeb20ba2b23f8d1141cc5505087b
CRs-Fixed: 3243326
Srinivas Pitla 3 년 전
부모
커밋
baaea274e7
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      umac/mlo_mgr/src/wlan_mlo_mgr_primary_umac.c

+ 1 - 0
umac/mlo_mgr/src/wlan_mlo_mgr_primary_umac.c

@@ -394,6 +394,7 @@ QDF_STATUS mlo_peer_allocate_primary_umac(
 		if (!primary_umac_set)
 			ml_peer->primary_umac_psoc_id = first_link_id;
 
+		mlo_peer_assign_primary_umac(ml_peer, peer_entry);
 		mlo_info("MLD ID %d ML Peer " QDF_MAC_ADDR_FMT " primary umac soc %d ",
 			 ml_dev->mld_id,
 			 QDF_MAC_ADDR_REF(ml_peer->peer_mld_addr.bytes),