hfpmodem: Add comment for previous commit

This commit is contained in:
Denis Kenzior 2013-01-21 09:41:27 -06:00
parent 843bd71169
commit b9782fedfc
1 changed files with 5 additions and 0 deletions

View File

@ -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);