From dd01164e300284be5fd5ac1a76a8636f4ad3e47d Mon Sep 17 00:00:00 2001 From: Rakesh Pillai Date: Fri, 20 Jan 2023 09:00:49 -0800 Subject: [PATCH] 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 --- dp/wifi3.0/be/dp_be.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/dp/wifi3.0/be/dp_be.c b/dp/wifi3.0/be/dp_be.c index bdb873feb2..9d02c55e4c 100644 --- a/dp/wifi3.0/be/dp_be.c +++ b/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);