voicecall: Fix check for ECT pre-conditions

We must have 1 Dialing / Alerting / Active call and a single
non-multiparty held call.
This commit is contained in:
Denis Kenzior 2011-02-07 15:53:31 -06:00
parent 09b169c95f
commit 50f1b7e943
1 changed files with 1 additions and 1 deletions

View File

@ -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)