atmodem: Always unref ppp when context is down

This commit is contained in:
Denis Kenzior 2010-06-11 09:16:25 -05:00
parent 48c3c4268c
commit c3dddcb5b3
1 changed files with 2 additions and 0 deletions

View File

@ -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) {