Dundee is not waiting to receive the NO CARRIER notification
to close the IO channel with oFono so that oFono is trying to
send a NO CARRIER although GAtServer is removed.
---
gatchat/gatserver.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/gatchat/gatserver.c b/gatchat/gatserver.c
index 7c87c7a..e3cbb8f 100644
--- a/gatchat/gatserver.c
+++ b/gatchat/gatserver.c
@@ -222,6 +222,9 @@ static inline void send_final_numeric(GAtServer *server,
GAtServerResult result)
void g_at_server_send_final(GAtServer *server, GAtServerResult result)
{
+ if (server == NULL)
+ return;
+
if (server->final_sent != FALSE)
return;
--
1.7.5.4
_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono