projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
017c116
)
handsfree: Be extra pedantic with booleans
author
Denis Kenzior
<denkenz@gmail.com>
Fri, 31 Jan 2014 21:14:08 +0000
(15:14 -0600)
committer
Denis Kenzior
<denkenz@gmail.com>
Mon, 20 Oct 2014 18:40:28 +0000
(13:40 -0500)
src/handsfree.c
patch
|
blob
|
history
diff --git
a/src/handsfree.c
b/src/handsfree.c
index 49eef679566e49656fbe9bd394dc990f9996bc17..30ab7022613388bfcbbd1bff86ac577c1e1eb232 100644
(file)
--- 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)