qcacmn: Find peer using mld_addr for MLO case

For MLO, try to find peer by comparing the MLD MAC
addresses.

Change-Id: Ib109da957d5c330385688a4e91e04cda91a51f30
CRs-Fixed: 3140866
This commit is contained in:
Abishek Ganapathy
2022-02-23 10:06:07 +05:30
committed by Madan Koyyalamudi
parent 21fcb24a2c
commit e79a7628e6
6 changed files with 91 additions and 14 deletions

View File

@@ -7387,7 +7387,7 @@ QDF_STATUS dp_peer_mlo_setup(
peer->primary_link = setup_info->is_primary_link;
mld_peer = dp_peer_find_hash_find(soc,
setup_info->mld_peer_mac,
0, DP_VDEV_ALL, DP_MOD_ID_CDP);
0, vdev_id, DP_MOD_ID_CDP);
if (mld_peer) {
if (setup_info->is_first_link) {
/* assign rx_tid to mld peer */