summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/voicecall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/voicecall.c b/src/voicecall.c
index 7632c0db..46066686 100644
--- a/src/voicecall.c
+++ b/src/voicecall.c
@@ -1354,7 +1354,7 @@ static DBusMessage *manager_transfer(DBusConnection *conn,
numheld = voicecalls_num_held(vc);
- if ((numactive != 1) && (numheld != 1))
+ if (numactive != 1 || numheld != 1)
return __ofono_error_failed(msg);
if (vc->driver->transfer == NULL)