qcacmn: Masking MLO APIs for the non-MLDs
Masking the MLO API, mlo_setup_get_total_socs using ic_eht_target check for non-MLDs in cmn_dev. CRs-Fixed: 3551482 Change-Id: I8d585f534146f58beee605b2165bb0c51fc5bdb9
This commit is contained in:

committed by
Rahul Choudhary

szülő
5d85f97e90
commit
138833a0eb
@@ -536,6 +536,7 @@ QDF_STATUS osif_update_mlo_partner_info(
|
||||
uint8_t tot_grp_socs, ml_grp_id;
|
||||
struct wlan_objmgr_pdev *pdev = NULL;
|
||||
struct wlan_objmgr_vdev *vdev_iter;
|
||||
struct wlan_objmgr_psoc *psoc;
|
||||
|
||||
if (!vdev || !connect_req || !req)
|
||||
return status;
|
||||
@@ -550,6 +551,15 @@ QDF_STATUS osif_update_mlo_partner_info(
|
||||
osif_debug("null pdev");
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
psoc = wlan_pdev_get_psoc(pdev);
|
||||
|
||||
if (!psoc) {
|
||||
osif_debug("null psoc");
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
if (!wlan_mlo_get_psoc_capable(psoc))
|
||||
return QDF_STATUS_SUCCESS;
|
||||
|
||||
osif_debug("ML IE search start");
|
||||
if (req->ie_len) {
|
||||
|
Reference in New Issue
Block a user