summaryrefslogtreecommitdiffstats
path: root/src/host/trxcon/trx_if.c
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2018-09-07 02:55:29 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2018-09-07 12:18:24 +0000
commit3d62aa724ea50feeb63bbcc8d5171663ca2b88e6 (patch)
tree2463745f8e27792804291cc8f85c1a3359d01fbd /src/host/trxcon/trx_if.c
parent05d88069d49e580a6998924e450e8de62ae02da6 (diff)
trxcon/l1ctl.c: refactor Timing Advance handling
Diffstat (limited to 'src/host/trxcon/trx_if.c')
-rw-r--r--src/host/trxcon/trx_if.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/host/trxcon/trx_if.c b/src/host/trxcon/trx_if.c
index 19d8c753..b8bbace5 100644
--- a/src/host/trxcon/trx_if.c
+++ b/src/host/trxcon/trx_if.c
@@ -388,10 +388,6 @@ static void trx_if_measure_rsp_cb(struct trx_instance *trx, char *resp)
int trx_if_cmd_setta(struct trx_instance *trx, int8_t ta)
{
- /* Do nothing, if requested TA value matches the current */
- if (trx->ta == ta)
- return 0;
-
return trx_ctrl_cmd(trx, 0, "SETTA", "%d", ta);
}