summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/emulator.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/emulator.c b/src/emulator.c
index e7c7d413..c3165eb4 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);
}