qcacld-3.0: Update hdd_data_stall_process_event

Update hdd_data_stall_process_event to match scheduler_msg_process_fn_t.
Change the argument to scheduler_msg struct and add return status
to match function type.

Change-Id: Id4d2eaaa2262d7fe2dd6241ae4581a3d0cb09805
CRs-fixed: 2697445
This commit is contained in:
Lincoln Tran 2020-05-19 13:51:19 -07:00 • committed by nshrivas
commit c88a47f84a

View file

@ -65,14 +65,16 @@ static inline void hdd_data_stall_send_event(uint32_t reason)
*
* Process data stall message
*
* Return: void
* Return: QDF_STATUS
*/
static void hdd_data_stall_process_event(
struct data_stall_event_info *data_stall_info)
static QDF_STATUS hdd_data_stall_process_event(struct scheduler_msg *msg)
{
hdd_data_stall_send_event(data_stall_info->data_stall_type);
}
struct data_stall_event_info *data_stall_info = msg->bodyptr;
hdd_data_stall_send_event(data_stall_info->data_stall_type);
return QDF_STATUS_SUCCESS;
}
/**
* hdd_data_stall_process_cb() - Process data stall message
* @message: data stall message