diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gsm/gsm0808.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/gsm/gsm0808.c b/src/gsm/gsm0808.c index 27ea035c..e6a581c2 100644 --- a/src/gsm/gsm0808.c +++ b/src/gsm/gsm0808.c @@ -120,7 +120,17 @@ struct msgb *gsm0808_create_layer3_2(const struct msgb *msg_l3, const struct osm struct msgb *gsm0808_create_layer3(struct msgb *msg_l3, uint16_t nc, uint16_t cc, int lac, uint16_t _ci) { - return gsm0808_create_layer3_aoip(msg_l3, nc, cc, lac, _ci, NULL); + struct osmo_cell_global_id cgi = { + .lai = { + .plmn = { + .mcc = cc, + .mnc = nc, + }, + .lac = lac, + }, + .cell_identity = _ci, + }; + return gsm0808_create_layer3_2(msg_l3, &cgi, NULL); } /*! Create BSSMAP RESET message |