diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2010-04-12 17:53:29 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-04-12 17:53:29 -0700 |
commit | 143d6db7c399274624e29d62b47561e7f6c385eb (patch) | |
tree | 4be1542822af54c308cfa0705feed486f827c260 | |
parent | a977ecf260970358c6d8440a4ee6f6125f463777 (diff) | |
download | ofono-143d6db7c399274624e29d62b47561e7f6c385eb.tar.bz2 |
Remove useless debug in PPP transmit destroy callback
-rw-r--r-- | gatchat/gatppp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gatchat/gatppp.c b/gatchat/gatppp.c index 259fdeb0..2e45e6b8 100644 --- a/gatchat/gatppp.c +++ b/gatchat/gatppp.c @@ -660,9 +660,8 @@ static void ppp_xmit_destroy_notify(gpointer destroy_data) { GAtPPP *ppp = destroy_data; - g_print("%s\n", __FUNCTION__); - ppp->write_watch = 0; + if (ppp->phase == PPP_DEAD) ppp_dead(ppp); } |