summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2016-12-02 05:21:45 +0100
committerPhilipp Maier <pmaier@sysmocom.de>2017-02-24 15:18:21 +0100
commitbdb5dcd8708ba2752ae9f7d78eb01b1a63d4adc6 (patch)
treeae09e9c0bd0afed71cbe193eb40ed02aa4bbe714
parentf30b66c5315392e6336803a04d92e6ca3b1e9e4e (diff)
libbsc: add ericsson specific f1 trail to receive a confirmation
-rw-r--r--openbsc/src/libbsc/abis_rsl.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/openbsc/src/libbsc/abis_rsl.c b/openbsc/src/libbsc/abis_rsl.c
index 080ec19..31ecc65 100644
--- a/openbsc/src/libbsc/abis_rsl.c
+++ b/openbsc/src/libbsc/abis_rsl.c
@@ -1072,6 +1072,11 @@ int rsl_imm_assign_cmd(struct gsm_bts *bts, uint8_t len, uint8_t *val)
}
msg->dst = bts->c0->rsl_link;
+ msgb_put_u8(msg, 0xf1);
+ msgb_put_u8(msg, random() & 0xff);
+ msgb_put_u8(msg, random() & 0xff);
+ msgb_put_u8(msg, random() & 0xff);
+ msgb_put_u8(msg, 0x0);
return abis_rsl_sendmsg(msg);
}