qcacld-3.0: Start 11be AP without mlo IE with WLAN_FEATURE_11BE_MLO
When WLAN_FEATURE_11BE_MLO is enabled, 11be AP without mlo IE fails to start because of number of links being 0. 11be AP without mlo IE is a valid case. It should be supported. Change-Id: I66fce67e7235cd75db4599f7f06d239f7e1d965a CRs-Fixed: 3042868
This commit is contained in:

committed by
Madan Koyyalamudi

parent
2cc48336a8
commit
0855f4f6ae
@@ -5288,11 +5288,15 @@ static QDF_STATUS wlan_hdd_mlo_update(struct hdd_context *hdd_ctx,
|
||||
wlan_hdd_get_mlo_link_id(beacon, &link_id, &num_link);
|
||||
hdd_debug("MLO SAP vdev id %d, link id %d total link %d",
|
||||
adapter->vdev_id, link_id, num_link);
|
||||
if (!num_link)
|
||||
return QDF_STATUS_E_INVAL;
|
||||
if (!mlo_ap_vdev_attach(adapter->vdev, link_id, num_link))
|
||||
if (!num_link) {
|
||||
hdd_debug("start 11be AP without mlo");
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
if (!mlo_ap_vdev_attach(adapter->vdev, link_id, num_link)) {
|
||||
hdd_err("MLO SAP attach fails");
|
||||
return QDF_STATUS_E_INVAL;
|
||||
}
|
||||
}
|
||||
|
||||
if (!policy_mgr_is_mlo_sap_concurrency_allowed(
|
||||
hdd_ctx->psoc, wlan_vdev_mlme_is_mlo_ap(adapter->vdev))) {
|
||||
|
Reference in New Issue
Block a user