Ver Fonte

qcacmn: Use correct API to find is peer is assoc peer of an MLD

Use correct API to find if peer is assoc peer of an MLD

Change-Id: If485222ed23a1ac7b7fc625c6d9dfd6000959f36
Himanshu Batra há 3 anos atrás
pai
commit
0ae42b09e4
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      umac/mlo_mgr/src/wlan_mlo_mgr_primary_umac.c

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

@@ -41,7 +41,7 @@ void mlo_peer_assign_primary_umac(
 	 * primary umac
 	 */
 	if (ml_peer->primary_umac_psoc_id == ML_PRIMARY_UMAC_ID_INVAL) {
-		if (mlo_peer_is_assoc_peer(ml_peer, peer_entry->link_peer)) {
+		if (wlan_peer_mlme_is_assoc_peer(peer_entry->link_peer)) {
 			peer_entry->is_primary = true;
 			ml_peer->primary_umac_psoc_id =
 				wlan_peer_get_psoc_id(peer_entry->link_peer);