From b9782fedfc51895ac56db173040d35f9aafe172e Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Mon, 21 Jan 2013 09:41:27 -0600 Subject: [PATCH] hfpmodem: Add comment for previous commit --- drivers/hfpmodem/voicecall.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/hfpmodem/voicecall.c b/drivers/hfpmodem/voicecall.c index 39d81f1..33dd05e 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); -- 2.7.4