summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2011-05-04 22:03:11 -0500
committerDenis Kenzior <denkenz@gmail.com>2011-05-04 22:03:11 -0500
commit1655cb9bd251e52d2180f49b08fb3c69e420217c (patch)
tree6c375ad1b06679190912cb43ac0a922dd8cb6906 /src
parent307687942af135babcd5c31bc4f976a0a11086c2 (diff)
downloadofono-1655cb9bd251e52d2180f49b08fb3c69e420217c.tar.bz2
voicecall: CHLD call ids start at 1, not 0
Diffstat (limited to 'src')
-rw-r--r--src/voicecall.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/voicecall.c b/src/voicecall.c
index 69cd2384..41bda3a2 100644
--- a/src/voicecall.c
+++ b/src/voicecall.c
@@ -2806,7 +2806,7 @@ static void emulator_chld_cb(struct ofono_emulator *em,
break;
}
- if (chld >= 10 && chld <= 17) {
+ if (chld >= 11 && chld <= 17) {
if (vc->driver->release_specific == NULL)
goto fail;
@@ -2815,7 +2815,7 @@ static void emulator_chld_cb(struct ofono_emulator *em,
return;
}
- if (chld >= 20 && chld <= 27) {
+ if (chld >= 21 && chld <= 27) {
if (vc->driver->private_chat == NULL)
goto fail;