diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2018-12-26 00:40:18 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2019-01-04 17:26:14 +0000 |
commit | 7814a832980caa1206a3f217ef79f1a19831305a (patch) | |
tree | 7e2e1f71e3ba6966822027df5064e125d28c5024 /src/libmsc/gsm_subscriber.c | |
parent | 3a3ed9b704bf01792628d116056b565a67a2eaa6 (diff) |
use osmo_rat_type from libosmocore
Replace locally defined enum ran_type with libosmocore's new enum
osmo_rat_type, and value_string ran_type_names with osmo_rat_type_names.
The string representations change, which has cosmetic effects on the test suite
expectations.
Depends: I659687aef7a4d67ca372a39fef31dee07aed7631 (libosmocore)
Change-Id: I2c78c265dc99df581e1b00e563d6912c7ffdb36b
Diffstat (limited to 'src/libmsc/gsm_subscriber.c')
-rw-r--r-- | src/libmsc/gsm_subscriber.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libmsc/gsm_subscriber.c b/src/libmsc/gsm_subscriber.c index 0e76efc11..9ca5e2bef 100644 --- a/src/libmsc/gsm_subscriber.c +++ b/src/libmsc/gsm_subscriber.c @@ -115,9 +115,9 @@ static int msc_paging_request(struct vlr_subscr *vsub) * BSCs/RNCs are responsible and send them a paging request via open * SCCP connections (if any). */ switch (vsub->cs.attached_via_ran) { - case RAN_GERAN_A: + case OSMO_RAT_GERAN_A: return a_iface_tx_paging(vsub->imsi, vsub->tmsi, vsub->cgi.lai.lac); - case RAN_UTRAN_IU: + case OSMO_RAT_UTRAN_IU: return ranap_iu_page_cs(vsub->imsi, vsub->tmsi == GSM_RESERVED_TMSI? NULL : &vsub->tmsi, |