summaryrefslogtreecommitdiff
path: root/core/utils
diff options
context:
space:
mode:
authorHouston Hoffman <hhoffman@codeaurora.org>2016-04-21 16:36:45 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2016-04-25 22:56:07 -0700
commit52ec66908970b97081386a6e0b2f4d2899a5170f (patch)
treee9afe93b2b582820164bb03be10797d591af8cb0 /core/utils
parentfa345994b592fa64e60231add912ea63796e5de9 (diff)
qcacld-3.0: Fix compilation errors for msmcobalt (2/2)
Fix compilation errors when building for msmcobalt. Change-Id: I2e1d968e967f493fb927440777d1d01f7e3f66b0 CRs-Fixed: 1006068
Diffstat (limited to 'core/utils')
-rw-r--r--core/utils/epping/src/epping_txrx.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/core/utils/epping/src/epping_txrx.c b/core/utils/epping/src/epping_txrx.c
index 4586b1033fe8..8196bf908056 100644
--- a/core/utils/epping/src/epping_txrx.c
+++ b/core/utils/epping/src/epping_txrx.c
@@ -390,7 +390,6 @@ epping_adapter_t *epping_add_adapter(epping_context_t *pEpping_ctx,
int epping_connect_service(epping_context_t *pEpping_ctx)
{
int status, i;
- int ret = -1;
HTC_SERVICE_CONNECT_REQ connect;
HTC_SERVICE_CONNECT_RESP response;
@@ -421,9 +420,9 @@ int epping_connect_service(epping_context_t *pEpping_ctx)
status = htc_connect_service(pEpping_ctx->HTCHandle, &connect, &response);
if (status != EOK) {
EPPING_LOG(QDF_TRACE_LEVEL_FATAL,
- "Failed to connect to Endpoint Ping BE service status:%d \n",
+ "Failed to connect to Endpoint Ping BE service status:%d\n",
status);
- return -1;;
+ return status;
} else {
EPPING_LOG(QDF_TRACE_LEVEL_FATAL,
"eppingtest BE endpoint:%d\n", response.Endpoint);
@@ -435,9 +434,9 @@ int epping_connect_service(epping_context_t *pEpping_ctx)
status = htc_connect_service(pEpping_ctx->HTCHandle, &connect, &response);
if (status != EOK) {
EPPING_LOG(QDF_TRACE_LEVEL_FATAL,
- "Failed to connect to Endpoint Ping BK service status:%d \n",
+ "Failed to connect to Endpoint Ping BK service status:%d\n",
status);
- return ret;
+ return status;
} else {
EPPING_LOG(QDF_TRACE_LEVEL_FATAL,
"eppingtest BK endpoint:%d\n", response.Endpoint);