mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
qcacld-3.0: Update wma_discard_fw_event
Update return type of wma_discard_fw_event to return QDF_STATUS to match scheduler_msg_process_fn_t. Change-Id: I1746b170318be30810ddf7cc6be8156a3940b595 CRs-fixed: 2698308
This commit is contained in:
parent
749eebbc06
commit
cf98b324aa
1 changed files with 4 additions and 2 deletions
|
|
@ -1462,15 +1462,17 @@ QDF_STATUS wma_process_hal_pwr_dbg_cmd(WMA_HANDLE handle,
|
|||
return status;
|
||||
}
|
||||
|
||||
static void wma_discard_fw_event(struct scheduler_msg *msg)
|
||||
static QDF_STATUS wma_discard_fw_event(struct scheduler_msg *msg)
|
||||
{
|
||||
if (!msg->bodyptr)
|
||||
return;
|
||||
return QDF_STATUS_E_INVAL;
|
||||
|
||||
qdf_mem_free(msg->bodyptr);
|
||||
msg->bodyptr = NULL;
|
||||
msg->bodyval = 0;
|
||||
msg->type = 0;
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
QDF_STATUS
|
||||
|
|
|
|||
Loading…
Reference in a new issue