atmodem/sms: Do not print an error message incorrectly

add missing return in at_cmt_notify.  Without it an error message was
generated in all cases, even successful ones.
This commit is contained in:
Giacinto Cifelli 2018-09-20 07:08:09 +02:00 committed by Denis Kenzior
parent 9f747730a8
commit abd219c89f
1 changed files with 1 additions and 0 deletions

View File

@ -455,6 +455,7 @@ static void at_cmt_notify(GAtResult *result, gpointer user_data)
if (data->vendor != OFONO_VENDOR_SIMCOM)
at_ack_delivery(sms);
return;
err:
ofono_error("Unable to parse CMT notification");