aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bsc/osmo_bsc_api.c
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2018-05-07 12:43:28 +0200
committerHarald Welte <laforge@gnumonks.org>2018-05-17 20:13:52 +0000
commit0b103999371e91c979ffe51723579860cbbcac2f (patch)
tree58bbfb371c481289b9c120d0893ecb3e0b6d455f /src/osmo-bsc/osmo_bsc_api.c
parente5a9665c009f9b81bbc370480405cb91cbe99b66 (diff)
a_reset: cleanup + remove dead code
The function a_reset_free() is not used anywhere at the code. The reason for this is that a BSC instance is never cleared once it is started up. Also the timer number is not according to the spec. - Remove a_reset_free() - Fix timer identification number (T4) - use fi->priv to hold context info - Fix sourcecode formatting Change-Id: I72095d52304c520e383755eee6c889bce492cbd4 Related: OS#3102
Diffstat (limited to 'src/osmo-bsc/osmo_bsc_api.c')
-rw-r--r--src/osmo-bsc/osmo_bsc_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bsc/osmo_bsc_api.c b/src/osmo-bsc/osmo_bsc_api.c
index 239bb543c..8c16bde25 100644
--- a/src/osmo-bsc/osmo_bsc_api.c
+++ b/src/osmo-bsc/osmo_bsc_api.c
@@ -44,7 +44,7 @@ static bool msc_connected(struct gsm_subscriber_connection *conn)
return false;
/* Reset procedure not (yet) executed */
- if (a_reset_conn_ready(conn->sccp.msc->a.reset) == false)
+ if (a_reset_conn_ready(conn->sccp.msc->a.reset_fsm) == false)
return false;
return true;