mirror of git://git.sysmocom.de/ofono
atmodem: Always unref ppp when context is down
This commit is contained in:
parent
48c3c4268c
commit
c3dddcb5b3
|
@ -90,6 +90,8 @@ static void ppp_disconnect(GAtPPPDisconnectReason reason, gpointer user_data)
|
|||
|
||||
DBG("");
|
||||
|
||||
g_at_ppp_unref(gcd->ppp);
|
||||
gcd->ppp = NULL;
|
||||
g_at_chat_resume(gcd->chat);
|
||||
|
||||
switch (gcd->state) {
|
||||
|
|
Loading…
Reference in New Issue