From 1655cb9bd251e52d2180f49b08fb3c69e420217c Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Wed, 4 May 2011 22:03:11 -0500 Subject: voicecall: CHLD call ids start at 1, not 0 --- src/voicecall.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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; -- cgit v1.2.3