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