mirror of git://git.sysmocom.de/ofono
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:
parent
9f747730a8
commit
abd219c89f
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue