All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] emulator: Test already done in g_at_server_resume()
@ 2012-06-25 14:19 Guillaume Zajac
  2012-06-25 14:19 ` [PATCH 2/2] emulator: Fix crash when dundee is disconnecting Guillaume Zajac
  0 siblings, 1 reply; 4+ messages in thread
From: Guillaume Zajac @ 2012-06-25 14:19 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 516 bytes --]

---
 src/emulator.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/src/emulator.c b/src/emulator.c
index e7c7d41..c3165eb 100644
--- a/src/emulator.c
+++ b/src/emulator.c
@@ -100,9 +100,6 @@ static void cleanup_ppp(struct ofono_emulator *em)
 	__ofono_private_network_release(em->pns_id);
 	em->pns_id = 0;
 
-	if (em->server == NULL)
-		return;
-
 	g_at_server_resume(em->server);
 	g_at_server_send_final(em->server, G_AT_SERVER_RESULT_NO_CARRIER);
 }
-- 
1.7.5.4


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-06-26  8:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-25 14:19 [PATCH 1/2] emulator: Test already done in g_at_server_resume() Guillaume Zajac
2012-06-25 14:19 ` [PATCH 2/2] emulator: Fix crash when dundee is disconnecting Guillaume Zajac
2012-06-22  7:46   ` Denis Kenzior
2012-06-26  8:00     ` Guillaume Zajac

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.