Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ed9e9f93 authored by Bapiraju Alla's avatar Bapiraju Alla Committed by nshrivas
Browse files

qcacld-3.0: Fix return type for umac_stop_complete_cb

Fix return type for umac_stop_complete_cb to match with the return type of
sys_rsp_cb declaration.

Change-Id: I06c67bf04ead784054b62de25f127d805082c425
CRs-Fixed: 2674554
parent b945b8a7
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -57,19 +57,17 @@ QDF_STATUS sys_build_message_header(SYS_MSG_ID msg_id,
 * Return: none
 */
#ifdef QDF_ENABLE_TRACING
static QDF_STATUS umac_stop_complete_cb(void *user_data)
static void umac_stop_complete_cb(void *user_data)
{
	qdf_event_t *stop_evt = (qdf_event_t *) user_data;
	QDF_STATUS qdf_status = qdf_event_set(stop_evt);

	QDF_ASSERT(QDF_IS_STATUS_SUCCESS(qdf_status));

	return QDF_STATUS_SUCCESS;
}
#else
static QDF_STATUS umac_stop_complete_cb(void *user_data)
{
	return QDF_STATUS_SUCCESS;
	return;
}
#endif