From 95d2cb184abda2f47ece4f3a24faa04d86918ba7 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 23 Sep 2008 21:59:18 +0200 Subject: Add workaround for a broken carkit --- src/sdpd-service.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/sdpd-service.c') 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: -- cgit