diff options
author | Denis Kenzior <denkenz@gmail.com> | 2013-01-21 09:41:27 -0600 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2013-01-21 09:41:54 -0600 |
commit | b9782fedfc51895ac56db173040d35f9aafe172e (patch) | |
tree | 495929c062baedfe5283be4f114401b970da7669 /drivers/hfpmodem/voicecall.c | |
parent | 843bd71169e721780b7305e5623196764171da9e (diff) | |
download | ofono-b9782fedfc51895ac56db173040d35f9aafe172e.tar.bz2 |
hfpmodem: Add comment for previous commit
Diffstat (limited to 'drivers/hfpmodem/voicecall.c')
-rw-r--r-- | drivers/hfpmodem/voicecall.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/hfpmodem/voicecall.c b/drivers/hfpmodem/voicecall.c index 39d81f1f..33dd05ec 100644 --- a/drivers/hfpmodem/voicecall.c +++ b/drivers/hfpmodem/voicecall.c @@ -503,6 +503,11 @@ static void release_all_active_cb(gboolean ok, GAtResult *result, if (vd->expect_release_source) g_source_remove(vd->expect_release_source); + /* + * Some phones, like Nokia 500, do not send CIEV after accepting + * the CHLD=1 command, even though the spec states that they should. + * So simply poll to force the status update if the AG is misbehaving. + */ vd->expect_release_source = g_timeout_add(EXPECT_RELEASE_DELAY, expect_release, req->vc); |