aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmsc/msc_a.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libmsc/msc_a.c')
-rw-r--r--src/libmsc/msc_a.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/libmsc/msc_a.c b/src/libmsc/msc_a.c
index 5135cf288..a595458c3 100644
--- a/src/libmsc/msc_a.c
+++ b/src/libmsc/msc_a.c
@@ -108,16 +108,6 @@ struct msc_a *msc_a_fi_priv(struct osmo_fsm_inst *fi)
return fi->priv;
}
-bool msc_a_require_ciphering(const struct msc_a *msc_a)
-{
- struct gsm_network *net = msc_a_net(msc_a);
- bool is_utran = (msc_a->c.ran->type == OSMO_RAT_UTRAN_IU);
- if (is_utran)
- return net->uea_encryption_mask > (1 << OSMO_UTRAN_UEA0);
- else
- return net->a5_encryption_mask > 0x1;
-}
-
static void update_counters(struct osmo_fsm_inst *fi, bool conn_accepted)
{
struct msc_a *msc_a = fi->priv;