* [PATCH] Fix error handling in at_cmt_notify()
@ 2018-09-27 21:47 Pavel Machek
2018-09-27 22:18 ` Denis Kenzior
0 siblings, 1 reply; 2+ messages in thread
From: Pavel Machek @ 2018-09-27 21:47 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 606 bytes --]
at_cmt_notify() calls ofono_error even in case stuff is
okay. Fix that.
diff --git a/drivers/atmodem/sms.c b/drivers/atmodem/sms.c
index 68b89862..217971e7 100644
--- a/drivers/atmodem/sms.c
+++ b/drivers/atmodem/sms.c
@@ -440,6 +436,8 @@ 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");
}
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-09-27 22:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-27 21:47 [PATCH] Fix error handling in at_cmt_notify() Pavel Machek
2018-09-27 22:18 ` Denis Kenzior
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.