From 3bc9b16459947b3509256cde912a47a323c20d93 Mon Sep 17 00:00:00 2001 From: Philipp Maier Date: Wed, 31 Jul 2019 13:15:37 +0200 Subject: bsc_msc_data: remove unused member is_authenticated The struct member struct bsc_msc_data->is_authenticated is set to true permanently. This is a leftover from the sccplite implementation and can be removed now. Change-Id: I966a48b383c85345c92c9a1fec791150e96cd7b9 Related: OS#3112 --- src/osmo-bsc/gsm_08_08.c | 2 -- src/osmo-bsc/osmo_bsc_msc.c | 7 ------- 2 files changed, 9 deletions(-) (limited to 'src/osmo-bsc') diff --git a/src/osmo-bsc/gsm_08_08.c b/src/osmo-bsc/gsm_08_08.c index 6ca5455f6..4dc488348 100644 --- a/src/osmo-bsc/gsm_08_08.c +++ b/src/osmo-bsc/gsm_08_08.c @@ -307,8 +307,6 @@ struct bsc_msc_data *bsc_find_msc(struct gsm_subscriber_connection *conn, round_robin: llist_for_each_entry(msc, &bsc->mscs, entry) { - if (!msc->is_authenticated) - continue; if (!is_emerg && msc->type != MSC_CON_TYPE_NORMAL) continue; if (is_emerg && !msc->allow_emerg) diff --git a/src/osmo-bsc/osmo_bsc_msc.c b/src/osmo-bsc/osmo_bsc_msc.c index 7e78d947c..24c8c6d99 100644 --- a/src/osmo-bsc/osmo_bsc_msc.c +++ b/src/osmo-bsc/osmo_bsc_msc.c @@ -49,13 +49,6 @@ int osmo_bsc_msc_init(struct bsc_msc_data *msc) uint16_t mgw_port; int rc; - /* FIXME: This is a leftover from the old architecture that used - * sccp-lite with osmocom specific authentication. Since we now - * changed to AoIP the connected status and the authentication - * status is managed differently. However osmo_bsc_filter.c still - * needs the flags to be set to one. See also: OS#3112 */ - msc->is_authenticated = 1; - if (net->mgw.conf->remote_port >= 0) mgw_port = net->mgw.conf->remote_port; else -- cgit v1.2.3