Skip to contentSkip to conversation

hfpmodem: Fix ECNR HF feature

PATCH In review Frederic Danis 2 participants 3 messages Jun 26, 2013 – Jun 27, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 hfpmodem: Fix ECNR HF feature

---
 drivers/hfpmodem/slc.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/hfpmodem/slc.c +2 -1
index 40b22a1..38a9b2e 100644
@@ -59,7 +59,8 @@ void hfp_slc_info_init(struct hfp_slc_info *info, guint16 version)
 	info->ag_features = 0;
 	info->ag_mpty_features = 0;
 
-	info->hf_features = HFP_HF_FEATURE_3WAY;
+	info->hf_features = HFP_HF_FEATURE_ECNR;
+	info->hf_features |= HFP_HF_FEATURE_3WAY;
 	info->hf_features |= HFP_HF_FEATURE_CLIP;
 	info->hf_features |= HFP_HF_FEATURE_REMOTE_VOLUME_CONTROL;
 
Signature · 1 line
1.7.9.5
#1 lore raw

Hi Frederic,

Quoted 4 lines · Frederic Danis
---
  drivers/hfpmodem/slc.c |    3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)

Both patches have been applied, thanks.

Regards,
-Denis

#2 lore raw

PATCH 2/2 hfp_hf_bluez5: Fix SDP record with correct features

In reply to Frederic Danis
---
 plugins/hfp_hf_bluez5.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
plugins/hfp_hf_bluez5.c +2 -1
index 7c663b5..40d8ce0 100644
@@ -636,7 +636,8 @@ static const GDBusMethodTable profile_methods[] = {
 
 static void connect_handler(DBusConnection *conn, void *user_data)
 {
-	uint16_t features = HFP_SDP_HF_FEATURE_3WAY |
+	uint16_t features = HFP_SDP_HF_FEATURE_ECNR |
+				HFP_SDP_HF_FEATURE_3WAY |
 				HFP_SDP_HF_FEATURE_CLIP |
 				HFP_SDP_HF_FEATURE_REMOTE_VOLUME_CONTROL;
 
Signature · 1 line
1.7.9.5