public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Guillaume Bedot <littletux@zarb.org>
To: BlueZ development <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] forcing SCO connection patch
Date: Tue, 26 Feb 2008 22:05:24 +0100	[thread overview]
Message-ID: <1204059924.6870.10.camel@localhost> (raw)
In-Reply-To: <9B6FD5D3-CFDE-4F5F-91A7-3A64B653DD78@holtmann.org>

[-- Attachment #1: Type: text/plain, Size: 438 bytes --]

Re,

Le mardi 26 février 2008 à 20:28 +0100, Marcel Holtmann a écrit :
> No. That is wrong. Using sync setup commands apply to SCO and eSCO.
> No  
> need to force anything here. Let the Bluetooth firmware inside the  
> chip do the right thing.

So I have to assume LM=device firmware and Host=device driver, the
separation between the two finally makes sense.

Here is a corrected version of the other patch.

Regards,

Guillaume B.

[-- Attachment #2: also-accept-sco-links-v3.patch --]
[-- Type: text/x-patch, Size: 432 bytes --]

--- net/bluetooth/hci_event.c.orig	2008-02-26 17:20:11.000000000 +0100
+++ net/bluetooth/hci_event.c	2008-02-26 21:19:04.000000000 +0100
@@ -1313,6 +1313,11 @@
 	hci_dev_lock(hdev);
 
 	conn = hci_conn_hash_lookup_ba(hdev, ev->link_type, &ev->bdaddr);
+	if (!conn && ev->link_type==SCO_LINK) {
+		conn = hci_conn_hash_lookup_ba(hdev, ESCO_LINK, &ev->bdaddr);
+		if (conn)
+			conn->type=SCO_LINK;
+	}
 	if (!conn)
 		goto unlock;
 

[-- Attachment #3: Type: text/plain, Size: 228 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

[-- Attachment #4: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

  reply	other threads:[~2008-02-26 21:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-17 12:39 [Bluez-devel] forcing SCO connection patch Louis JANG
2008-02-25  6:43 ` Brad Midgley
2008-02-25  6:56   ` Brad Midgley
2008-02-26 19:19   ` Guillaume Bedot
2008-02-26 19:28     ` Marcel Holtmann
2008-02-26 21:05       ` Guillaume Bedot [this message]
     [not found] ` <a8e1da0802242330l765b8b1ava62b857baf8a5568@mail.gmail.com>
     [not found]   ` <47C28A33.4070102@mizi.com>
     [not found]     ` <a8e1da0802250155u1b7af481va203849f68d9106b@mail.gmail.com>
     [not found]       ` <47C2A7FA.2060902@mizi.com>
     [not found]         ` <70692DDF-93B7-447E-ABEE-3CDBD94F15F1@holtmann.org>
     [not found]           ` <47C38D40.3040809@mizi.com>
     [not found]             ` <B96BD3FE-F490-4AD5-9315-ECD42CE9C728@holtmann.org>
     [not found]               ` <47C4C3D4.8010902@mizi.com>
     [not found]                 ` <2A7EF87C-1340-45D7-B457-F81799674B1E@holtmann.org>
     [not found]                   ` <47C555E5.2000903@mizi.com>
2008-02-27 13:04                     ` Guillaume Bedot
     [not found]                     ` <5D9353FF-6A69-4039-9033-C0EBD1CDA756@holtmann.org>
     [not found]                       ` <47C62147.90007@mizi.com>
2008-02-28 10:57                         ` Guillaume Bedot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1204059924.6870.10.camel@localhost \
    --to=littletux@zarb.org \
    --cc=bluez-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox