summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/src/transceiver/trx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/host/layer23/src/transceiver/trx.c')
-rw-r--r--src/host/layer23/src/transceiver/trx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/host/layer23/src/transceiver/trx.c b/src/host/layer23/src/transceiver/trx.c
index b82c80bd..635532c1 100644
--- a/src/host/layer23/src/transceiver/trx.c
+++ b/src/host/layer23/src/transceiver/trx.c
@@ -356,6 +356,7 @@ _trx_ctrl_cmd_rxtune(struct trx *trx, const char *cmd, const char *args)
if ( arfcn == ARFCN_INVAL ||
(trx->arfcn != ARFCN_INVAL && trx->arfcn != arfcn)) {
LOGP(DTRX, LOGL_ERROR, "RXTUNE called with invalid/inconsistent frequency\n");
+ rv = -1;
goto done;
}
@@ -381,6 +382,7 @@ _trx_ctrl_cmd_txtune(struct trx *trx, const char *cmd, const char *args)
if ( arfcn == ARFCN_INVAL ||
(trx->arfcn != ARFCN_INVAL && trx->arfcn != arfcn)) {
LOGP(DTRX, LOGL_ERROR, "TXTUNE called with invalid/inconsistent frequency\n");
+ rv = -1;
goto done;
}