Greg,

When recently addressing remarks by Alexey Dobriyan about 
the isp116x-hcd, I introduced a bug in the driver. Please 
apply the attached patch to fix it.

Thanks,
Olav
Fix initialization of SETUP packets in isp116x-hcd. 

Signed-off-by: Olav Kongas <[EMAIL PROTECTED]>

--- linux-2.6.13-rc4-or/drivers/usb/host/isp116x-hcd.c  2005-07-29 
01:44:44.000000000 +0300
+++ linux-2.6.13-rc4-tmp2/drivers/usb/host/isp116x-hcd.c        2005-08-02 
16:14:12.750238105 +0300
@@ -229,9 +229,11 @@ static void preproc_atl_queue(struct isp
        struct isp116x_ep *ep;
        struct urb *urb;
        struct ptd *ptd;
-       u16 toggle = 0, dir = PTD_DIR_SETUP, len;
+       u16 len;
 
        for (ep = isp116x->atl_active; ep; ep = ep->active) {
+               u16 toggle = 0, dir = PTD_DIR_SETUP;
+
                BUG_ON(list_empty(&ep->hep->urb_list));
                urb = container_of(ep->hep->urb_list.next,
                                   struct urb, urb_list);

Reply via email to