Fix for multiparty_hangup

Due to the use of an invalid structure, release_all_active was being
called instead of release_all_held
This commit is contained in:
Denis Kenzior 2009-06-11 10:43:30 -05:00
parent f5f7fafc41
commit 50b9a3f375
1 changed files with 2 additions and 2 deletions

View File

@ -1016,9 +1016,9 @@ static DBusMessage *multiparty_hangup(DBusConnection *conn,
voicecalls_release_queue(modem, calls->multiparty_list);
voicecalls_release_next(modem);
} else {
struct ofono_call *v = calls->multiparty_list->data;
struct voicecall *v = calls->multiparty_list->data;
if (v->status == CALL_STATUS_HELD)
if (v->call->status == CALL_STATUS_HELD)
calls->ops->release_all_held(modem, generic_callback,
calls);
else