projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27cb260
)
Fix: Make sure we don't dial with an incoming call
author
Denis Kenzior
<denkenz@gmail.com>
Fri, 13 Nov 2009 22:04:45 +0000
(16:04 -0600)
committer
Denis Kenzior
<denkenz@gmail.com>
Fri, 13 Nov 2009 22:04:45 +0000
(16:04 -0600)
src/voicecall.c
patch
|
blob
|
history
diff --git
a/src/voicecall.c
b/src/voicecall.c
index
5fe8a0a
..
b8f4aab
100644
(file)
--- a/
src/voicecall.c
+++ b/
src/voicecall.c
@@
-975,6
+975,9
@@
static DBusMessage *manager_dial(DBusConnection *conn,
if (!vc->driver->dial)
return __ofono_error_not_implemented(msg);
+ if (voicecalls_have_incoming(vc))
+ return __ofono_error_failed(msg);
+
/* We can't have two dialing/alerting calls, reject outright */
if (voicecalls_num_connecting(vc) > 0)
return __ofono_error_failed(msg);