Greg KH wrote:
> 
> But your email client dropped all of the tabs, and the patch can't be
> applied.  Can you please try to fix this and resend it?

Sure thing; sorry about that.  Seems I can't inline the patch without tabs being
expanded to spaces, so it's an attachment this time.

(BTW; fixing this caused the problems with STALLs and missing replies to
disappear.  It's still not working reliably; I've got some quirks in the HC
driver to work out.)

-- 
Orjan Friberg
Axis Communications AB
Index: bluetooth.c
===================================================================
RCS file: /n/cvsroot/os/linux/drivers/usb/bluetooth.c,v
retrieving revision 1.11
diff -u -r1.11 bluetooth.c
--- bluetooth.c 7 Dec 2001 16:54:35 -0000       1.11
+++ bluetooth.c 5 Jul 2002 19:21:09 -0000
@@ -1136,6 +1136,7 @@
 
        endpoint = bulk_out_endpoint[0];
        bluetooth->bulk_out_endpointAddress = endpoint->bEndpointAddress;
+       bluetooth->bulk_out_buffer_size = endpoint->wMaxPacketSize * 2;
        
        /* create our write urb pool */ 
        for (i = 0; i < NUM_BULK_URBS; ++i) {
@@ -1152,8 +1153,6 @@
                bluetooth->write_urb_pool[i] = urb;
        }
        
-       bluetooth->bulk_out_buffer_size = endpoint->wMaxPacketSize * 2;
-
        endpoint = interrupt_in_endpoint[0];
        bluetooth->interrupt_in_urb = usb_alloc_urb(0);
        if (!bluetooth->interrupt_in_urb) {

Reply via email to