summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/hfpmodem/voicecall.c5
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);