From 9a2d11c38c7b207caa942601d6a38a2243108275 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Wed, 14 Feb 2018 13:19:25 +0100 Subject: transceiver: Fix RSP SETSLOT format According to osmo-trx README: SETSLOT sets the format of the uplink timeslots in the ARFCN. The indicates the timeslot of interest. The indicates the type of channel that occupies the timeslot. A chantype of zero indicates the timeslot is off. CMD SETSLOT RSP SETSLOT Change-Id: I63c81155c84fc35cff1704734fd8d2732235c5a4 Related: OS#2944 --- src/host/layer23/src/transceiver/trx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/host/layer23/src/transceiver/trx.c b/src/host/layer23/src/transceiver/trx.c index 8432dcae..3f519289 100644 --- a/src/host/layer23/src/transceiver/trx.c +++ b/src/host/layer23/src/transceiver/trx.c @@ -340,7 +340,7 @@ _trx_ctrl_cmd_setslot(struct trx *trx, const char *cmd, const char *args) if (trx->l1l[tn]) l1ctl_tx_bts_mode(trx->l1l[tn], 1, trx->type, trx->bsic, trx->arfcn, trx->gain, trx->l1l[tn]->tx_mask, trx->l1l[tn]->rx_mask, trx->handover); - return _trx_ctrl_send_resp(trx, cmd, "%d %d", 0, type); + return _trx_ctrl_send_resp(trx, cmd, "%d %d %d", 0, tn, type); } static int -- cgit v1.2.3