[PATCH] osmocom-bb[master]: host/trxcon: don't flush trx control messages on reset

Harald Welte gerrit-no-reply at lists.osmocom.org
Thu Feb 22 15:33:11 UTC 2018


Review at  https://gerrit.osmocom.org/6746

host/trxcon: don't flush trx control messages on reset

Change-Id: I0851f168adeb012a933c796c4180ef507b1c57ec
---
M src/host/trxcon/l1ctl.c
M src/host/trxcon/trxcon.c
2 files changed, 1 insertion(+), 2 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/46/6746/1

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 @@
 	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 @@
 			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:

-- 
To view, visit https://gerrit.osmocom.org/6746
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0851f168adeb012a933c796c4180ef507b1c57ec
Gerrit-PatchSet: 1
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>


More information about the gerrit-log mailing list