Revert "qcacld-3.0: Update hdd_data_stall_process_event"

This reverts Change-Id: Id4d2eaaa2262d7fe2dd6241ae4581a3d0cb09805.

This change is incorrect because the caller passes in the
bodyptr directly to parameter. The change incorrectly dereferences
the parameter.

Change-Id: Iaaedae1a3498fc1c10024083ee98ce97c3401f82
CRs-fixed: 2701124
This commit is contained in:
Lincoln Tran 2020-06-02 16:36:01 -07:00 committed by nshrivas
parent 265fe56111
commit e8fee5584c

View File

@ -65,16 +65,14 @@ static inline void hdd_data_stall_send_event(uint32_t reason)
*
* Process data stall message
*
* Return: QDF_STATUS
* Return: void
*/
static QDF_STATUS hdd_data_stall_process_event(struct scheduler_msg *msg)
static void hdd_data_stall_process_event(
struct data_stall_event_info *data_stall_info)
{
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