SMS-over-GSUP: clarify error message about unexpected MO/MT SMS

Change-Id: I34b25764f9ce9b09ccd28cf23fea01028d0828e0
This commit is contained in:
Vadim Yanitskiy 2020-04-20 10:04:12 +07:00 committed by laforge
parent 61ec0295fc
commit 46b0f80e69
1 changed files with 4 additions and 4 deletions

View File

@ -152,8 +152,8 @@ static int gsm411_gsup_mo_handler(struct gsm_network *net, struct vlr_subscr *vs
/* Make sure that 'SMS over GSUP' is expected */
if (!net->sms_over_gsup) {
/* TODO: notify sender about that? */
LOGP(DLSMS, LOGL_NOTICE, "Unexpected MO SMS over GSUP, "
"ignoring message...\n");
LOGP(DLSMS, LOGL_NOTICE, "Unexpected MO SMS over GSUP "
"(sms-over-gsup is not enabled), ignoring message...\n");
return -EIO;
}
@ -243,8 +243,8 @@ static int gsm411_gsup_mt_handler(struct gsm_network *net, struct vlr_subscr *vs
/* Make sure that 'SMS over GSUP' is expected */
if (!net->sms_over_gsup) {
LOGP(DLSMS, LOGL_NOTICE, "Unexpected MT SMS over GSUP, "
"ignoring message...\n");
LOGP(DLSMS, LOGL_NOTICE, "Unexpected MT SMS over GSUP "
"(sms-over-gsup is not enabled), ignoring message...\n");
/* TODO: notify sender about that? */
return -EIO;
}