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:
ab5b6d1
)
hfp: Add HF Indicators BRSF feature for 1.7
author
Denis Kenzior
<denkenz@gmail.com>
Tue, 21 Jan 2014 03:43:37 +0000
(21:43 -0600)
committer
Denis Kenzior
<denkenz@gmail.com>
Mon, 20 Oct 2014 18:40:28 +0000
(13:40 -0500)
If HFP 1.7 client is used, enable the right BRSF feature
drivers/hfpmodem/slc.c
patch
|
blob
|
history
diff --git
a/drivers/hfpmodem/slc.c
b/drivers/hfpmodem/slc.c
index 401f85e40717ee7ce95fa3c3e95936d65a2198f4..d438eb33dd0d160ee70152d025d31f5da892ba40 100644
(file)
--- a/
drivers/hfpmodem/slc.c
+++ b/
drivers/hfpmodem/slc.c
@@
-78,6
+78,11
@@
void hfp_slc_info_init(struct hfp_slc_info *info, guint16 version)
info->hf_features |= HFP_HF_FEATURE_CODEC_NEGOTIATION;
+ if (version < HFP_VERSION_1_7)
+ goto done;
+
+ info->hf_features |= HFP_HF_FEATURE_HF_INDICATORS;
+
done:
memset(info->cind_val, 0, sizeof(info->cind_val));
memset(info->cind_pos, 0, sizeof(info->cind_pos));