Oops on removing bluetooth CF card while in use
Hi!
I'm getting small saga with CF bluetooth card... can anyone help?
http://bugzilla.kernel.org/show_bug.cgi?id=5958
Pavel
Signature · 12 lines
Thanks, Sharp! ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Bluez-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bluez-devel
Marcel Holtmann
maintainerHi Pavel,
Quoted 3 lines
I'm getting small saga with CF bluetooth card... can anyone help?
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
drivers/bluetooth/hci_ldisc.c +1 -1
@@ -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))