This fixes a potential oops (depending on how the HCD handles it)
from a recent patch of mine.  Evidently I didn't test this bit a
device that'd show the problem, sigh.  Luckily Martin Diehl was
testing and found this.

Please merge.

- Dave
--- ./drivers-dist/usb/core/message.c   Thu Oct 17 01:29:51 2002
+++ ./drivers/usb/core/message.c        Thu Oct 17 07:42:47 2002
@@ -848,5 +848,5 @@
                usb_settoggle (dev, ep, out, 0);
                (out ? dev->epmaxpacketout : dev->epmaxpacketin) [ep]
-                       = iface_as->endpoint [ep].wMaxPacketSize;
+                       = iface_as->endpoint [i].wMaxPacketSize;
        }
 

Reply via email to