diff options
author | Denis Kenzior <denkenz@gmail.com> | 2009-06-12 11:44:32 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-06-12 21:39:09 -0500 |
commit | 9b9365ffae46b8708d1a96545ec934fd735426b4 (patch) | |
tree | 38725c9e3e9816e1c7d5a096e0a98895895abf74 | |
parent | 46ac5c564c0fdbbe196b8d2a549983263779e20e (diff) | |
download | ofono-9b9365ffae46b8708d1a96545ec934fd735426b4.tar.bz2 |
Can't implement Multiparty Hangup without chld
-rw-r--r-- | src/voicecall.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/voicecall.c b/src/voicecall.c index 7d7f3e35..c35262de 100644 --- a/src/voicecall.c +++ b/src/voicecall.c @@ -1002,6 +1002,12 @@ static DBusMessage *multiparty_hangup(DBusConnection *conn, if (!calls->ops->release_specific) return dbus_gsm_not_implemented(msg); + if (!calls->ops->release_all_held) + return dbus_gsm_not_implemented(msg); + + if (!calls->ops->release_all_active) + return dbus_gsm_not_implemented(msg); + if (g_slist_length(calls->multiparty_list) == 0) { DBusMessage *reply = dbus_message_new_method_return(msg); return reply; |