diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-04-09 15:51:08 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-04-13 12:03:32 -0500 |
commit | b916f189f58fc5fb9eb791e4c6bef4ce3191d698 (patch) | |
tree | c8d79aa432567e0d661bd41aab788409181e29df | |
parent | a661dd158300852bdc1f6493cb0e8828360a1b88 (diff) | |
download | ofono-b916f189f58fc5fb9eb791e4c6bef4ce3191d698.tar.bz2 |
ppp: Signal Down & Close when socket is closed
-rw-r--r-- | gatchat/gatppp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gatchat/gatppp.c b/gatchat/gatppp.c index 4f8d8f0c..48af6474 100644 --- a/gatchat/gatppp.c +++ b/gatchat/gatppp.c @@ -448,6 +448,8 @@ void ppp_generate_event(GAtPPP *ppp, enum ppp_event event) static void read_watcher_destroy_notify(GAtPPP *ppp) { ppp->read_watch = 0; + pppcp_signal_down(ppp->lcp); + pppcp_signal_close(ppp->lcp); } void ppp_set_auth(GAtPPP *ppp, const guint8* auth_data) |