summaryrefslogtreecommitdiffstats
path: root/src/sdpd-service.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-09-23 21:59:18 +0200
committerMarcel Holtmann <marcel@holtmann.org>2008-09-23 21:59:18 +0200
commit95d2cb184abda2f47ece4f3a24faa04d86918ba7 (patch)
treedd5eea94970d5a492659170894c68b04ef76191e /src/sdpd-service.c
parentaadfdc40444b0864bcb4ac46c3418df197d7d4f3 (diff)
Add workaround for a broken carkit
Diffstat (limited to 'src/sdpd-service.c')
-rw-r--r--src/sdpd-service.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/sdpd-service.c b/src/sdpd-service.c
index 30aad325..cd0b97d0 100644
--- a/src/sdpd-service.c
+++ b/src/sdpd-service.c
@@ -125,6 +125,13 @@ static void update_svclass_list(void)
case INTERCOM_SVCLASS_ID:
case FAX_SVCLASS_ID:
case SAP_SVCLASS_ID:
+ /*
+ * Setting the telephony bit for the handsfree audio gateway
+ * role is not required by the HFP specification, but the
+ * Nokia 616 carkit is just plain broken! It will refuse
+ * pairing without this bit set.
+ */
+ case HANDSFREE_AGW_SVCLASS_ID:
val |= 0x40; /* Telephony */
break;
case AUDIO_SOURCE_SVCLASS_ID: