From 0073dc7bfcb8f597438dcf8c5dfb94e44057113c Mon Sep 17 00:00:00 2001 From: Slava Monich Date: Fri, 26 Jun 2015 15:13:44 +0300 Subject: [PATCH] [sms] Don't drop SMS datagrams with unknown ports. Fixes MER#1137 --- ofono/src/sms.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ofono/src/sms.c b/ofono/src/sms.c index 02700297..d6d27e06 100644 --- a/ofono/src/sms.c +++ b/ofono/src/sms.c @@ -1369,8 +1369,7 @@ static void sms_dispatch(struct ofono_sms *sms, GSList *sms_list) if (srcport == -1 || dstport == -1) { ofono_error("Got an 8-bit encoded message, however " - "no valid src/address port, ignore"); - return; + "no valid src/address port"); } buf = sms_decode_datagram(sms_list, &len);