aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Sperling <ssperling@sysmocom.de>2018-02-16 13:40:42 +0100
committerStefan Sperling <ssperling@sysmocom.de>2018-03-13 15:50:18 +0100
commit621c729d8d557c82d92b12fe1d1df872697bbd6e (patch)
tree5e702e6da68af3577f3036bdc8db0437df5889b3
parentfa10eda6d70a4ecb37b6dfe629e665a16f8d3f59 (diff)
Track libosmocore API change in osmo-msc.
struct gsm0808_cell_id_list in libosmocore is deprecated by https://gerrit.osmocom.org/#/c/6509/ This updates the only API user I am aware of. Change-Id: I67377270cf3b081ac5dc9cd7b4dc28f74143753a Depends: Ib7e754f538df0c83298a3c958b4e15a32fcb8abb
-rw-r--r--src/libmsc/a_iface.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libmsc/a_iface.c b/src/libmsc/a_iface.c
index 79b1b4c8a..fa8c5c33a 100644
--- a/src/libmsc/a_iface.c
+++ b/src/libmsc/a_iface.c
@@ -194,7 +194,7 @@ int a_iface_tx_cipher_mode(const struct gsm_subscriber_connection *conn,
int a_iface_tx_paging(const char *imsi, uint32_t tmsi, uint16_t lac)
{
struct bsc_context *bsc_ctx;
- struct gsm0808_cell_id_list cil;
+ struct gsm0808_cell_id_list2 cil;
struct msgb *msg;
int page_count = 0;
struct osmo_ss7_instance *ss7;
@@ -202,7 +202,7 @@ int a_iface_tx_paging(const char *imsi, uint32_t tmsi, uint16_t lac)
OSMO_ASSERT(imsi);
cil.id_discr = CELL_IDENT_LAC;
- cil.id_list_lac[0] = lac;
+ cil.id_list[0].lac = lac;
cil.id_list_len = 1;
ss7 = osmo_ss7_instance_find(gsm_network->a.cs7_instance);
@@ -215,7 +215,7 @@ int a_iface_tx_paging(const char *imsi, uint32_t tmsi, uint16_t lac)
"Tx BSSMAP paging message from MSC %s to BSC %s (imsi=%s, tmsi=0x%08x, lac=%u)\n",
osmo_sccp_addr_name(ss7, &bsc_ctx->msc_addr),
osmo_sccp_addr_name(ss7, &bsc_ctx->bsc_addr), imsi, tmsi, lac);
- msg = gsm0808_create_paging(imsi, &tmsi, &cil, NULL);
+ msg = gsm0808_create_paging2(imsi, &tmsi, &cil, NULL);
osmo_sccp_tx_unitdata_msg(bsc_ctx->sccp_user,
&bsc_ctx->msc_addr, &bsc_ctx->bsc_addr, msg);
page_count++;