diff options
-rw-r--r-- | drivers/ifxmodem/voicecall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ifxmodem/voicecall.c b/drivers/ifxmodem/voicecall.c index 12a202cd..9d2c29db 100644 --- a/drivers/ifxmodem/voicecall.c +++ b/drivers/ifxmodem/voicecall.c @@ -171,7 +171,7 @@ static void xcallstat_notify(GAtResult *result, gpointer user_data) ofono_voicecall_disconnected(vc, call->id, r, NULL); vd->local_release &= ~(0x1 << call->id); - vd->calls = g_slist_remove(vd->calls, l); + vd->calls = g_slist_remove(vd->calls, call); g_free(call); return; |