From c88a47f84aec5c33c8334e506935bc37aa7673aa Mon Sep 17 00:00:00 2001 From: Lincoln Tran Date: Tue, 19 May 2020 13:51:19 -0700 Subject: [PATCH] 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 --- core/hdd/src/wlan_hdd_data_stall_detection.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/core/hdd/src/wlan_hdd_data_stall_detection.c b/core/hdd/src/wlan_hdd_data_stall_detection.c index 9f82edbb7dcc..0bfa2495e254 100644 --- a/core/hdd/src/wlan_hdd_data_stall_detection.c +++ b/core/hdd/src/wlan_hdd_data_stall_detection.c @@ -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