libmsc: fix -Wenum-conversion in subscr_conn_toss()

This commit simply fixes a -Wenum-conversion thrown by clang.
No idea why are we using the SM (GPRS Session Management) cause values.
msc_a_release_mo() does not even use the given SM cause value.

Change-Id: Iade6bf97466ab2b3b39e9ea123fc90d06c0f6a9b
This commit is contained in:
Vadim Yanitskiy 2024-02-14 18:04:51 +07:00 committed by fixeria
parent 398cb299f9
commit d851b2c029
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ static void subscr_conn_toss(struct vlr_subscr *vsub)
LOG_MSUB(msub, LOGL_ERROR, "Force releasing previous subscriber connection: an SGs connection for this"
" subscriber is being initiated\n");
msc_a_release_mo(msub_msc_a(msub), GSM48_REJECT_CONGESTION);
msc_a_release_mo(msub_msc_a(msub), GSM_CAUSE_AUTH_FAILED);
/* TODO: is this strong enough? After this, it should be completely disassociated with this subscriber. */
}