Przeglądaj źródła

qcacmn: Remove assert on MLD peer hash table add

Remove the assert during MLD peer hash table add,
even if its already present.

Change-Id: I20ca3cdff22ca246e192cc6154d0c68f1c27d9bf
CRs-Fixed: 3385739
Rakesh Pillai 2 lat temu
rodzic
commit
dd01164e30
1 zmienionych plików z 0 dodań i 8 usunięć
  1. 0 8
      dp/wifi3.0/be/dp_be.c

+ 0 - 8
dp/wifi3.0/be/dp_be.c

@@ -2067,14 +2067,6 @@ dp_mlo_peer_find_hash_add_be(struct dp_soc *soc, struct dp_peer *peer)
 	if (!mld_hash_obj)
 		return;
 
-	if (dp_mlo_peer_find_hash_find_be(soc, (uint8_t *)&peer->mac_addr, 1,
-					  DP_MOD_ID_CONFIG, DP_VDEV_ALL)) {
-		dp_info("MLD peer %pK (" QDF_MAC_ADDR_FMT ") already in hash table",
-			peer, QDF_MAC_ADDR_REF(peer->mac_addr.raw));
-		dp_peer_unref_delete(peer, DP_MOD_ID_CONFIG);
-		qdf_assert_always(0);
-	}
-
 	index = dp_mlo_peer_find_hash_index(mld_hash_obj, &peer->mac_addr);
 
 	qdf_spin_lock_bh(&mld_hash_obj->mld_peer_hash_lock);