SMS-over-GSUP: notify sender if no transaction found

Change-Id: I4f564610fadbfdbbc33de267786534a5405319f6
This commit is contained in:
Vadim Yanitskiy 2020-04-20 10:50:14 +07:00 committed by fixeria
parent 5a44e5f46e
commit a361cab54a
1 changed files with 2 additions and 1 deletions

View File

@ -161,7 +161,8 @@ static int gsm411_gsup_mo_handler(struct gsm_network *net, struct vlr_subscr *vs
LOGP(DLSMS, LOGL_NOTICE, "No transaction found for %s, "
"ignoring %s-%s message...\n", vlr_subscr_name(vsub),
msg_name, msg_is_err ? "Err" : "Res");
return -EIO; /* TODO: notify sender about that? */
gsup_client_mux_tx_error_reply(net->gcm, gsup_msg, GMM_CAUSE_NO_PDP_ACTIVATED);
return -EIO;
LOG_TRANS(trans, LOGL_DEBUG, "RX %s-%s\n", msg_name, msg_is_err ? "Err" : "Res");