mirror of git://git.sysmocom.de/ofono
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:
parent
09b169c95f
commit
50f1b7e943
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue