qcacmn: Change return type to QDF_STATUS
wmi_unified_register_event return QDF_STATUS Handle same return type in caller function CRs-Fixed: 2764185 Change-Id: I18c687ad0564ec70e28cf1f33f26501dda6ee5c5
Bu işleme şunda yer alıyor:
@@ -89,7 +89,7 @@ static int target_if_dcs_interference_event_handler(ol_scn_t scn,
|
||||
static QDF_STATUS
|
||||
target_if_dcs_register_event_handler(struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
int ret_val;
|
||||
QDF_STATUS ret_val;
|
||||
struct wmi_unified *wmi_handle;
|
||||
|
||||
if (!psoc) {
|
||||
@@ -108,10 +108,10 @@ target_if_dcs_register_event_handler(struct wlan_objmgr_psoc *psoc)
|
||||
wmi_dcs_interference_event_id,
|
||||
target_if_dcs_interference_event_handler,
|
||||
WMI_RX_WORK_CTX);
|
||||
if (ret_val)
|
||||
if (QDF_IS_STATUS_ERROR(ret_val))
|
||||
target_if_err("Failed to register dcs interference event cb");
|
||||
|
||||
return qdf_status_from_os_return(ret_val);
|
||||
return ret_val;
|
||||
}
|
||||
|
||||
static QDF_STATUS
|
||||
|
Yeni konuda referans
Bir kullanıcı engelle