From: Denis Kenzior Date: Fri, 31 Jan 2014 21:14:08 +0000 (-0600) Subject: handsfree: Be extra pedantic with booleans X-Git-Tag: 1.16~28 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d3560b3784ac9bbe57bdbe0cc86e64b9a87b0ce0;p=platform%2Fupstream%2Fofono.git handsfree: Be extra pedantic with booleans --- 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)