diff options
author | Minjun Li <minjun.li@intel.com> | 2009-05-26 15:28:00 +0800 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-05-27 10:00:59 -0500 |
commit | e7fe2273d94e580121fd41851d3c1718e05e4088 (patch) | |
tree | e3146b1098024e193eea588d6ac1e7f5741daa05 | |
parent | 0755110ccc893c831d54855fa1b39a3ca5004e74 (diff) | |
download | ofono-e7fe2273d94e580121fd41851d3c1718e05e4088.tar.bz2 |
Fix erroneous check in voicecall_busy to set_udub
The not implemented check should be checking for the presence of the
set_udub function, not the presence of the release_specific function
-rw-r--r-- | src/voicecall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/voicecall.c b/src/voicecall.c index bbc7bf56..73d88897 100644 --- a/src/voicecall.c +++ b/src/voicecall.c @@ -198,7 +198,7 @@ static DBusMessage *voicecall_busy(DBusConnection *conn, call->status != CALL_STATUS_WAITING) return dbus_gsm_failed(msg); - if (!voicecalls->ops->release_specific) + if (!voicecalls->ops->set_udub) return dbus_gsm_not_implemented(msg); if (voicecalls->flags & VOICECALLS_FLAG_PENDING) |