|
@@ -1163,7 +1163,7 @@ set_partner_info_for_2link_sap(struct scan_cache_entry *scan_entry,
|
|
|
#endif
|
|
|
|
|
|
static void
|
|
|
-cm_check_nontx_mbssid_partner_entries(struct cm_connect_req *conn_req)
|
|
|
+cm_check_ml_missing_partner_entries(struct cm_connect_req *conn_req)
|
|
|
{
|
|
|
uint8_t idx;
|
|
|
struct scan_cache_entry *entry, *partner_entry;
|
|
@@ -1178,15 +1178,9 @@ cm_check_nontx_mbssid_partner_entries(struct cm_connect_req *conn_req)
|
|
|
* If the entry is not one of following, return gracefully:
|
|
|
* -AP is not ML type
|
|
|
* -AP is SLO
|
|
|
- * -AP is not a member of MBSSID set
|
|
|
- * -AP BSSID equals to TxBSSID in MBSSID set
|
|
|
*/
|
|
|
- if (!mld_addr || !entry->ml_info.num_links ||
|
|
|
- !entry->mbssid_info.profile_num ||
|
|
|
- !qdf_mem_cmp(entry->mbssid_info.trans_bssid, &entry->bssid,
|
|
|
- QDF_MAC_ADDR_SIZE)) {
|
|
|
+ if (!mld_addr || !entry->ml_info.num_links)
|
|
|
return;
|
|
|
- }
|
|
|
|
|
|
for (idx = 0; idx < entry->ml_info.num_links; idx++) {
|
|
|
if (!entry->ml_info.link_info[idx].is_valid_link)
|
|
@@ -1271,7 +1265,7 @@ cm_get_ml_partner_info(struct wlan_objmgr_pdev *pdev,
|
|
|
mlme_debug("sta and ap intersect num of partner link: %d", j);
|
|
|
|
|
|
set_partner_info_for_2link_sap(scan_entry, partner_info);
|
|
|
- cm_check_nontx_mbssid_partner_entries(conn_req);
|
|
|
+ cm_check_ml_missing_partner_entries(conn_req);
|
|
|
|
|
|
return QDF_STATUS_SUCCESS;
|
|
|
}
|