summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/handsfree.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/handsfree.c b/src/handsfree.c
index 49eef679..30ab7022 100644
--- a/src/handsfree.c
+++ b/src/handsfree.c
@@ -422,6 +422,11 @@ void ofono_handsfree_hf_indicator_active_notify(struct ofono_handsfree *hf,
{
DBG("%d, %d", indicator, active);
+ if (active)
+ active = TRUE;
+ else
+ active = FALSE;
+
switch (indicator) {
case HFP_HF_INDICATOR_ENHANCED_SAFETY:
if (!hf->have_ddr)