public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: fd@cisco.com
Cc: BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] Oops in hci_usb
Date: Mon, 10 May 2004 15:21:14 +0200	[thread overview]
Message-ID: <1084195273.4017.34.camel@pegasus> (raw)
In-Reply-To: <1083936143.8935.5.camel@metal.cisco.com>

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

Hi Frederic

> I have those Oopses too with the Acer BT dongle (bt-600). Disabling SCO
> solves the problem.

try the attached patch if it solves the problem.

Regards

Marcel


[-- Attachment #2: patch --]
[-- Type: text/plain, Size: 530 bytes --]

===== drivers/bluetooth/hci_usb.c 1.49 vs edited =====
--- 1.49/drivers/bluetooth/hci_usb.c	Sat Apr 17 00:23:48 2004
+++ edited/drivers/bluetooth/hci_usb.c	Mon May 10 12:03:05 2004
@@ -976,11 +971,13 @@
 static void hci_usb_disconnect(struct usb_interface *intf)
 {
 	struct hci_usb *husb = usb_get_intfdata(intf);
-	struct hci_dev *hdev = husb->hdev;
+	struct hci_dev *hdev;
 
-	if (!husb)
+	if (!husb || intf == husb->isoc_iface)
 		return;
+
 	usb_set_intfdata(intf, NULL);
+	hdev = husb->hdev;
 
 	BT_DBG("%s", hdev->name);
 

  parent reply	other threads:[~2004-05-10 13:21 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-01 17:36 [Bluez-users] Oops in hci_usb Riku Voipio
2004-05-01 20:30 ` Nicholas A. Preyss
2004-05-01 21:22 ` Timothy Murphy
2004-05-03 12:26 ` Marcel Holtmann
2004-05-03 19:37   ` Riku Voipio
2004-05-04 16:01     ` Marcel Holtmann
2004-05-04 17:22       ` Riku Voipio
2004-05-04 17:30         ` Michal Semler
2004-05-04 17:41           ` Marcel Holtmann
2004-05-05 19:07       ` Riku Voipio
2004-05-05 19:29         ` Marcel Holtmann
2004-05-06 18:48           ` Riku Voipio
2004-05-06 19:28             ` Michal Semler
2004-05-06 21:03               ` Marcel Holtmann
     [not found]                 ` <1083936143.8935.5.camel@metal.cisco.com>
2004-05-10 13:21                   ` Marcel Holtmann [this message]
2004-05-10 14:04                     ` Frederic Detienne

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=1084195273.4017.34.camel@pegasus \
    --to=marcel@holtmann.org \
    --cc=bluez-users@lists.sourceforge.net \
    --cc=fd@cisco.com \
    /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