patch-2.4.22 linux-2.4.22/drivers/bluetooth/hci_usb.c

Next file: linux-2.4.22/drivers/char/Config.in
Previous file: linux-2.4.22/drivers/bluetooth/bfusb.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/drivers/bluetooth/hci_usb.c linux-2.4.22/drivers/bluetooth/hci_usb.c
@@ -301,7 +301,8 @@
 			hci_usb_bulk_rx_submit(husb);
 
 #ifdef CONFIG_BLUEZ_USB_SCO
-		hci_usb_isoc_rx_submit(husb);
+		if (husb->isoc_iface)
+			hci_usb_isoc_rx_submit(husb);
 #endif
 	} else {
 		clear_bit(HCI_RUNNING, &hdev->flags);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)