mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-11 13:22:39 -05:00
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:
parent
511634b339
commit
598f503a01
2 changed files with 5 additions and 5 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue