summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2019-05-28 20:25:42 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2019-05-28 20:27:42 +0700
commit1efe26f41a7fa5bd10dd0c4bf6c1df60c92fd807 (patch)
tree0fd6724f3a785774d71c452ca13e4bd9c6a43416 /src
parent08a1990272ee376a0b65101a0e9e4223cd38a5b6 (diff)
trxcon/l1ctl.c: use #define for RSL_CHAN_RACH
Diffstat (limited to 'src')
-rw-r--r--src/host/trxcon/l1ctl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/host/trxcon/l1ctl.c b/src/host/trxcon/l1ctl.c
index e6f8f826..d7452952 100644
--- a/src/host/trxcon/l1ctl.c
+++ b/src/host/trxcon/l1ctl.c
@@ -37,6 +37,7 @@
#include <osmocom/core/talloc.h>
#include <osmocom/core/select.h>
#include <osmocom/gsm/gsm_utils.h>
+#include <osmocom/gsm/protocol/gsm_08_58.h>
#include "logging.h"
#include "l1ctl_link.h"
@@ -537,7 +538,7 @@ static int l1ctl_rx_rach_req(struct l1ctl_link *l1l, struct msgb *msg, bool ext)
* FIXME: l1ctl_info_ul doesn't provide channel description
* FIXME: Can we use other than TS0?
*/
- chan_nr = 0x88;
+ chan_nr = RSL_CHAN_RACH;
link_id = 0x00;
/* Init a new primitive */