diff options
-rw-r--r-- | drivers/hfpmodem/voicecall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hfpmodem/voicecall.c b/drivers/hfpmodem/voicecall.c index f16282c1..07e78249 100644 --- a/drivers/hfpmodem/voicecall.c +++ b/drivers/hfpmodem/voicecall.c @@ -295,7 +295,7 @@ static void clcc_poll_cb(gboolean ok, GAtResult *result, gpointer user_data) * we won't get indicator update if any of them is released by CHLD=1x. * So we have to poll it. */ - if (num_active > 1 || num_held > 1) + if ((num_active > 1 || num_held > 1) && !vd->clcc_source) vd->clcc_source = g_timeout_add(POLL_CLCC_INTERVAL, poll_clcc, vc); } |