qcacld-3.0: Fix partner info mismach issue

If DUT only supports one link, it does not set the partner info
in the probe request. But it tries to match the partner info when
it receives the ML probe response no matter the peer supports more
then one link. It causes the matching failure if peer supports two
links.
To resolve this issue, using the DUT's num_partner_links to control
the iteration.

Change-Id: I0e30cf1b566641dfd7eff5678f8d46be99005d51
CRs-Fixed: 3265252
这个提交包含在:
Paul Zhang
2022-08-15 07:57:17 +08:00
提交者 Madan Koyyalamudi
父节点 99a301280d
当前提交 3b08e1c692

查看文件

@@ -3559,7 +3559,7 @@ lim_validate_probe_rsp_link_info(struct pe_session *session_entry,
}
ml_partner_info = session_entry->lim_join_req->partner_info;
for (i = 0; i < partner_info.num_partner_links; i++) {
for (i = 0; i < ml_partner_info.num_partner_links; i++) {
if (!lim_match_link_info(ml_partner_info.partner_link_info[i].link_id,
&ml_partner_info.partner_link_info[i].link_addr,
&partner_info)) {