diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2017-07-03 11:35:50 +0200 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2017-07-12 23:42:47 +0200 |
commit | 7be5f799255ab6f53a257e0b08304c33d9c2025a (patch) | |
tree | d52b597ec9d9356314a71d302c0d085abdf3b968 /src | |
parent | 17d1463465af2cd3ada397c2a9ec6aaf449b7334 (diff) |
osmo-bsc: add missing assertion
Change-Id: Ia7d4b0bff697acfa71ef616a12d78d17e3af4c20
Diffstat (limited to 'src')
-rw-r--r-- | src/osmo-bsc/osmo_bsc_sigtran.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/osmo-bsc/osmo_bsc_sigtran.c b/src/osmo-bsc/osmo_bsc_sigtran.c index cc4637a37..5741ad7d7 100644 --- a/src/osmo-bsc/osmo_bsc_sigtran.c +++ b/src/osmo-bsc/osmo_bsc_sigtran.c @@ -96,6 +96,7 @@ static void osmo_bsc_sigtran_tx_reset(struct bsc_msc_data *msc) void osmo_bsc_sigtran_tx_reset_ack(struct bsc_msc_data *msc) { struct msgb *msg; + OSMO_ASSERT(msc); LOGP(DMSC, LOGL_NOTICE, "Sending RESET ACK to MSC: %s\n", osmo_sccp_addr_dump(&msc->a.msc_addr)); msg = gsm0808_create_reset_ack(); osmo_sccp_tx_unitdata_msg(msc->a.sccp_user, &msc->a.bsc_addr, |