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