diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-02-14 13:19:25 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-02-15 11:35:01 +0100 |
commit | c3c89746bbc2ee87497c2eeee01b02edaa3f7095 (patch) | |
tree | 11da1889b25305ff8178d50b9893e01ed963f7e6 | |
parent | 9ec3f72277f4f3c96ac365de3022f4d181ba8c9f (diff) |
transceiver: Fix RSP SETSLOT formatsylvain/testing
According to osmo-trx README:
SETSLOT sets the format of the uplink timeslots in the ARFCN.
The <timeslot> indicates the timeslot of interest.
The <chantype> indicates the type of channel that occupies the timeslot.
A chantype of zero indicates the timeslot is off.
CMD SETSLOT <timeslot> <chantype>
RSP SETSLOT <status> <timeslot> <chantype>
Change-Id: I63c81155c84fc35cff1704734fd8d2732235c5a4
Related: OS#2944
-rw-r--r-- | src/host/layer23/src/transceiver/trx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/host/layer23/src/transceiver/trx.c b/src/host/layer23/src/transceiver/trx.c index 9149b7ca..24cc8d9e 100644 --- a/src/host/layer23/src/transceiver/trx.c +++ b/src/host/layer23/src/transceiver/trx.c @@ -307,7 +307,7 @@ _trx_ctrl_cmd_setslot(struct trx *trx, const char *cmd, const char *args) if ((n != 2) || (tn < 0) || (tn > 7) || (type < 0) || (type > 8)) return _trx_ctrl_send_resp(trx, cmd, "%d %d %d", -1, tn, type); - 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 |