projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a661dd1
)
ppp: Signal Down & Close when socket is closed
author
Denis Kenzior
<denkenz@gmail.com>
Fri, 9 Apr 2010 20:51:08 +0000
(15:51 -0500)
committer
Denis Kenzior
<denkenz@gmail.com>
Tue, 13 Apr 2010 17:03:32 +0000
(12:03 -0500)
gatchat/gatppp.c
patch
|
blob
|
history
diff --git
a/gatchat/gatppp.c
b/gatchat/gatppp.c
index
4f8d8f0
..
48af647
100644
(file)
--- 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)