[sms] Don't drop SMS datagrams with unknown ports. Fixes MER#1137

This commit is contained in:
Slava Monich
2015-06-26 15:13:44 +03:00
parent 297bdaba0f
commit 0073dc7bfc

View File

@@ -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);