mirror of git://git.sysmocom.de/ofono
hfp: Add HF Indicators BRSF feature for 1.7
If HFP 1.7 client is used, enable the right BRSF feature
This commit is contained in:
parent
ab5b6d1217
commit
debb0d2d3e
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue