libmsc/gsm_09_11.c: drop meaningless check for concurrent paging
This check was copy-pasted from the CC handling code during the
initial development of "SS/USSD over GSUP" feature. It probably
makes sense for MT calls, but definitely not for SS/USSD.
Change-Id: I2899a23ee49fd7917443943629603700a5025cf4
diff --git a/src/libmsc/gsm_09_11.c b/src/libmsc/gsm_09_11.c
index bcf8dec..f85c3f6 100644
--- a/src/libmsc/gsm_09_11.c
+++ b/src/libmsc/gsm_09_11.c
@@ -314,7 +314,7 @@
struct vlr_subscr *vsub, const struct osmo_gsup_message *gsup_msg)
{
struct msc_a *msc_a;
- struct gsm_trans *trans, *transt;
+ struct gsm_trans *trans;
int tid;
if (gsup_msg->session_state != OSMO_GSUP_SESSION_STATE_BEGIN) {
@@ -363,20 +363,6 @@
LOG_TRANS(trans, LOGL_DEBUG, "Triggering Paging Request\n");
- /* Find transaction with this subscriber already paging */
- llist_for_each_entry(transt, &net->trans_list, entry) {
- /* Transaction of our conn? */
- if (transt == trans || transt->vsub != vsub)
- continue;
-
- LOG_TRANS(trans, LOGL_ERROR, "Paging already started, "
- "rejecting message...\n");
- trans_free(trans);
- /* FIXME: WTF IS THIS!? This is completely insane. Presence of a trans doesn't indicate Paging, and even
- * if, why drop the current request??? */
- return NULL;
- }
-
/* Trigger Paging Request */
trans->paging_request = paging_request_start(vsub, PAGING_CAUSE_SIGNALLING_HIGH_PRIO,
ss_paging_cb, trans, "GSM 09.11 SS/USSD");