diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2017-06-12 17:40:01 +0200 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2017-06-18 17:50:09 +0200 |
commit | 738cc1106c0273a918350f495a6a746d06fc2e2a (patch) | |
tree | 2d887c4ffd9d6dbca354371875d68236f08d4d16 /openbsc/src/osmo-bsc/osmo_bsc_bssap.c | |
parent | 2abf6b020090788b03d0d1d9207acd62d6a6abcb (diff) |
libcommon-cs: genralize a interface reset fsm
The AoIP standard also describes an MSC->BSC reset procedure. We
currently do not implement it. However, the fsm that is used to
issue the reset request from the bsc side is not generalized. This
patch generalizes the code in order to be able to use the same
code on the MSC side to perform a reset procedure from there.
Diffstat (limited to 'openbsc/src/osmo-bsc/osmo_bsc_bssap.c')
-rw-r--r-- | openbsc/src/osmo-bsc/osmo_bsc_bssap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/osmo-bsc/osmo_bsc_bssap.c b/openbsc/src/osmo-bsc/osmo_bsc_bssap.c index 739f93c05..f08811498 100644 --- a/openbsc/src/osmo-bsc/osmo_bsc_bssap.c +++ b/openbsc/src/osmo-bsc/osmo_bsc_bssap.c @@ -31,7 +31,7 @@ #include <osmocom/gsm/gsm0808.h> #include <osmocom/gsm/gsm0808_utils.h> #include <openbsc/osmo_bsc_sigtran.h> -#include <openbsc/osmo_bsc_reset.h> +#include <openbsc/a_reset.h> #include <osmocom/core/byteswap.h> #define IP_V4_ADDR_LEN 4 @@ -198,7 +198,7 @@ static int bssmap_handle_reset_ack(struct bsc_msc_data *msc, /* Inform the FSM that controls the RESET/RESET-ACK procedure * that we have successfully received the reset-ack message */ - reset_ack_confirm(msc); + a_reset_ack_confirm(&msc->msc_con->reset); return 0; } |