SMS-over-GSUP: clarify error message about unexpected MO/MT SMS
Change-Id: I34b25764f9ce9b09ccd28cf23fea01028d0828e0
This commit is contained in:
parent
61ec0295fc
commit
46b0f80e69
|
@ -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 */
|
/* Make sure that 'SMS over GSUP' is expected */
|
||||||
if (!net->sms_over_gsup) {
|
if (!net->sms_over_gsup) {
|
||||||
/* TODO: notify sender about that? */
|
/* TODO: notify sender about that? */
|
||||||
LOGP(DLSMS, LOGL_NOTICE, "Unexpected MO SMS over GSUP, "
|
LOGP(DLSMS, LOGL_NOTICE, "Unexpected MO SMS over GSUP "
|
||||||
"ignoring message...\n");
|
"(sms-over-gsup is not enabled), ignoring message...\n");
|
||||||
return -EIO;
|
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 */
|
/* Make sure that 'SMS over GSUP' is expected */
|
||||||
if (!net->sms_over_gsup) {
|
if (!net->sms_over_gsup) {
|
||||||
LOGP(DLSMS, LOGL_NOTICE, "Unexpected MT SMS over GSUP, "
|
LOGP(DLSMS, LOGL_NOTICE, "Unexpected MT SMS over GSUP "
|
||||||
"ignoring message...\n");
|
"(sms-over-gsup is not enabled), ignoring message...\n");
|
||||||
/* TODO: notify sender about that? */
|
/* TODO: notify sender about that? */
|
||||||
return -EIO;
|
return -EIO;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue