mirror of git://git.sysmocom.de/ofono
speedup: Fix stale control channel after hot-unplug
This commit is contained in:
parent
e604e5065c
commit
3e73ffebff
|
@ -77,6 +77,9 @@ static void speedup_remove(struct ofono_modem *modem)
|
||||||
|
|
||||||
ofono_modem_set_data(modem, NULL);
|
ofono_modem_set_data(modem, NULL);
|
||||||
|
|
||||||
|
/* Cleanup after hot-unplug */
|
||||||
|
g_at_chat_unref(data->aux);
|
||||||
|
|
||||||
g_free(data);
|
g_free(data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue