mirror of git://git.sysmocom.de/ofono
Fix: For now calling g_at_chat_unref is fine
Same as g_at_chat_shutdown in this case
This commit is contained in:
parent
20a32ff5e8
commit
b5f81f4012
|
@ -125,7 +125,7 @@ static gboolean setup_ppp(struct ofono_gprs_context *gc)
|
|||
GIOChannel *channel;
|
||||
|
||||
channel = g_at_chat_get_channel(gcd->chat);
|
||||
g_at_chat_shutdown(gcd->chat);
|
||||
g_at_chat_unref(gcd->chat);
|
||||
|
||||
/* open ppp */
|
||||
gcd->ppp = g_at_ppp_new(channel);
|
||||
|
|
Loading…
Reference in New Issue