diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-12-16 17:12:38 -0600 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-12-16 18:40:19 -0600 |
commit | 3254e5e99f522790cb40b40f12af1d76959df5b1 (patch) | |
tree | 2a6f2c7fe537a083cd72bbae48938a81962e919d | |
parent | 0597b3501a7a540e161949e971129d0d13877bae (diff) | |
download | ofono-3254e5e99f522790cb40b40f12af1d76959df5b1.tar.bz2 |
atmodem: Fix reporting of CLIP
When RING & CLCC polling is used, the CLIP will not be reported
correctly if the CLIP: notification does not arrive
-rw-r--r-- | drivers/atmodem/voicecall.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/atmodem/voicecall.c b/drivers/atmodem/voicecall.c index a023f695..4c9fc262 100644 --- a/drivers/atmodem/voicecall.c +++ b/drivers/atmodem/voicecall.c @@ -189,7 +189,8 @@ static void clcc_poll_cb(gboolean ok, GAtResult *result, gpointer user_data) * and we're forced to use CLCC and clip_validity * is 1 */ - nc->clip_validity = oc->clip_validity; + if (oc->clip_validity == 1) + nc->clip_validity = oc->clip_validity; /* * CNAP doesn't arrive as part of CLCC, always |