Use proper SCCP release cause enum value instead of hardcoded value
Change-Id: If44e7c4a3166822d7732b7af4c136b8f97898dc0
This commit is contained in:
parent
8514b73bff
commit
a0707cf9c6
|
@ -26,6 +26,7 @@
|
|||
#include <osmocom/core/fsm.h>
|
||||
|
||||
#include <osmocom/sigtran/sccp_helpers.h>
|
||||
#include <osmocom/sccp/sccp_types.h>
|
||||
|
||||
#include <osmocom/ranap/ranap_common_ran.h>
|
||||
|
||||
|
@ -183,7 +184,9 @@ static int tx_sccp_rlsd(struct osmo_fsm_inst *fi)
|
|||
return -1;
|
||||
}
|
||||
|
||||
return osmo_sccp_tx_disconn(map->cnlink->hnbgw_sccp_user->sccp_user, map->scu_conn_id, NULL, 0);
|
||||
return osmo_sccp_tx_disconn(map->cnlink->hnbgw_sccp_user->sccp_user,
|
||||
map->scu_conn_id, NULL,
|
||||
SCCP_RELEASE_CAUSE_END_USER_ORIGINATED);
|
||||
}
|
||||
|
||||
static int destruct_ranap_ran_rx_co_ies(ranap_message *ranap_message_p)
|
||||
|
|
Loading…
Reference in New Issue