From: Marcel Holtmann <marcel@holtmann.org>
To: bluez-devel@lists.sourceforge.net
Cc: bluez-devel@lists.sf.net
Subject: Re: [Bluez-devel] Oops on removing bluetooth CF card while in use
Date: Tue, 07 Feb 2006 12:02:38 +0100 [thread overview]
Message-ID: <1139310158.13048.4.camel@localhost> (raw)
In-Reply-To: <20060204223527.GA1903@elf.ucw.cz>
[-- Attachment #1: Type: text/plain, Size: 457 bytes --]
Hi Pavel,
> I'm getting small saga with CF bluetooth card... can anyone help?
>
> http://bugzilla.kernel.org/show_bug.cgi?id=5958
do you have the full oops message for me? However it has been a while
since I worked with serial line disciplines and the serial subsystem is
changing too often, that I lost track. Does the attached patch helps or
is the problem another one. Do we need to keep track of the hangup in
the serial subsystem?
Regards
Marcel
[-- Attachment #2: patch --]
[-- Type: text/x-patch, Size: 497 bytes --]
diff --git a/drivers/bluetooth/hci_ldisc.c b/drivers/bluetooth/hci_ldisc.c
index 613673b..3366bba 100644
--- a/drivers/bluetooth/hci_ldisc.c
+++ b/drivers/bluetooth/hci_ldisc.c
@@ -192,7 +192,7 @@ static int hci_uart_flush(struct hci_dev
/* Flush any pending characters in the driver and discipline. */
tty_ldisc_flush(tty);
- if (tty->driver->flush_buffer)
+ if (tty->driver && tty->driver->flush_buffer)
tty->driver->flush_buffer(tty);
if (test_bit(HCI_UART_PROTO_SET, &hu->flags))
prev parent reply other threads:[~2006-02-07 11:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-04 22:35 [Bluez-devel] Oops on removing bluetooth CF card while in use Pavel Machek
2006-02-07 11:02 ` Marcel Holtmann [this message]
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=1139310158.13048.4.camel@localhost \
--to=marcel@holtmann.org \
--cc=bluez-devel@lists.sf.net \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.