aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/bsc_msc.h
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2017-06-30 11:12:18 +0200
committerPhilipp Maier <pmaier@sysmocom.de>2017-06-30 11:12:18 +0200
commite2b37af93a084abf57c496938746cc66e65c120f (patch)
tree0a3e9dc4583dc0bdbd09a6422f7cf1cf05b0878a /openbsc/include/openbsc/bsc_msc.h
parent9244306db501a2e94a43861b67f619d4a4b8a958 (diff)
reset: fix allocation and add deallocator for reset procedure
When the reset is started, state machines are allocated. The user must provide a correctly filled structure where the reset start function adds the state machine into. This is prone to errors, besides of that, a proper deallocator function which tears down the osmo fsm is missing. make a more cofmortable allocator function and add deallocator function.
Diffstat (limited to 'openbsc/include/openbsc/bsc_msc.h')
-rw-r--r--openbsc/include/openbsc/bsc_msc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/include/openbsc/bsc_msc.h b/openbsc/include/openbsc/bsc_msc.h
index a7c881b84..380eb17c1 100644
--- a/openbsc/include/openbsc/bsc_msc.h
+++ b/openbsc/include/openbsc/bsc_msc.h
@@ -61,7 +61,7 @@ struct bsc_msc_connection {
struct osmo_sccp_user *sccp_user;
struct osmo_sccp_addr g_calling_addr;
struct osmo_sccp_addr g_called_addr;
- struct a_reset_ctx reset;
+ struct a_reset_ctx *reset;
int conn_id_counter;
};