qcacld-3.0: Change return status

Return QDF_STATUS as return status
over an integer value.

Change-Id: Ib6083de9b3581e6d92ec18f39ca552a5ae0cfc2d
CRs-Fixed: 2311561
This commit is contained in:
Venkata Sharath Chandra Manchala 2018-09-05 18:55:43 -07:00 • committed by nshrivas
commit 598f503a01
2 changed files with 5 additions and 5 deletions

View file

@ -897,9 +897,9 @@ QDF_STATUS cds_enable(struct wlan_objmgr_psoc *psoc)
goto err_mac_stop;
}
errno = cdp_soc_attach_target(cds_get_context(QDF_MODULE_ID_SOC));
if (errno) {
cds_err("Failed to attach soc target; errno:%d", errno);
qdf_status = cdp_soc_attach_target(cds_get_context(QDF_MODULE_ID_SOC));
if (!QDF_IS_STATUS_SUCCESS(qdf_status)) {
cds_err("Failed to attach soc target; status:%d", qdf_status);
goto err_sme_stop;
}

View file

@ -5112,10 +5112,10 @@ static uint16_t ol_txrx_get_vdev_id(struct cdp_vdev *pvdev)
*
* Return: 0
*/
static int ol_txrx_soc_attach_target(ol_txrx_soc_handle soc)
static QDF_STATUS ol_txrx_soc_attach_target(ol_txrx_soc_handle soc)
{
/* MCL legacy OL do nothing here */
return 0;
return QDF_STATUS_SUCCESS;
}
/**