summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2017-07-27 09:14:20 +0600
committerVadim Yanitskiy <axilirator@gmail.com>2017-10-23 22:05:49 +0330
commitd8f55d3d602342c5476dcde3cdb27d8f9c27e7ed (patch)
treeb7b17682691d902fdab014e7cb0780d1542287a1
parent08cea11b8efe34f45bbebfa3aef2e027450a230f (diff)
host/trxcon: don't flush trx control messages on reset
-rw-r--r--src/host/trxcon/l1ctl.c1
-rw-r--r--src/host/trxcon/trxcon.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/host/trxcon/l1ctl.c b/src/host/trxcon/l1ctl.c
index f71807a..436d043 100644
--- a/src/host/trxcon/l1ctl.c
+++ b/src/host/trxcon/l1ctl.c
@@ -366,7 +366,6 @@ static int l1ctl_rx_reset_req(struct l1ctl_link *l1l, struct msgb *msg)
switch (res->type) {
case L1CTL_RES_T_FULL:
/* TODO: implement trx_if_reset() */
- trx_if_flush_ctrl(l1l->trx);
trx_if_cmd_poweroff(l1l->trx);
trx_if_cmd_echo(l1l->trx);
diff --git a/src/host/trxcon/trxcon.c b/src/host/trxcon/trxcon.c
index f0fca16..c509bf1 100644
--- a/src/host/trxcon/trxcon.c
+++ b/src/host/trxcon/trxcon.c
@@ -93,8 +93,8 @@ static void trxcon_fsm_managed_action(struct osmo_fsm_inst *fi,
sched_trx_reset(app_data.trx);
/* TODO: implement trx_if_reset() */
- trx_if_flush_ctrl(app_data.trx);
trx_if_cmd_poweroff(app_data.trx);
+ trx_if_cmd_echo(app_data.trx);
}
break;
case TRX_EVENT_RSP_ERROR: