Browse Source

qcacld-3.0: Fix return type of umac_stop_complete_cb

Return type of umac_stop_complete_cb is QDF_STATUS when
QDF_ENABLE_TRACING feature is disabled. It not matching with the same
API defined when QDF_ENABLE_TRACING is enabled.

To resolve this, update return type of umac_stop_complete_cb to void
when QDF_ENABLE_TRACING feature is disabled.

Change-Id: I59783520a7fdf8bef4424fed649898b5547da280
CRs-Fixed: 2686544
Bapiraju Alla 4 years ago
parent
commit
9b8a513717
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/mac/src/sys/common/src/wlan_qct_sys.c

+ 1 - 1
core/mac/src/sys/common/src/wlan_qct_sys.c

@@ -65,7 +65,7 @@ static void umac_stop_complete_cb(void *user_data)
 	QDF_ASSERT(QDF_IS_STATUS_SUCCESS(qdf_status));
 }
 #else
-static QDF_STATUS umac_stop_complete_cb(void *user_data)
+static void umac_stop_complete_cb(void *user_data)
 {
 	return;
 }