ChangeSet 1.781.21.16, 2002/10/18 00:05:29-07:00, david-b@pacbell.net [PATCH] one liner, anti-oops 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. diff -Nru a/drivers/usb/core/message.c b/drivers/usb/core/message.c --- a/drivers/usb/core/message.c Fri Oct 18 14:43:13 2002 +++ b/drivers/usb/core/message.c Fri Oct 18 14:43:13 2002 @@ -847,7 +847,7 @@ ep &= USB_ENDPOINT_NUMBER_MASK; usb_settoggle (dev, ep, out, 0); (out ? dev->epmaxpacketout : dev->epmaxpacketin) [ep] - = iface_as->endpoint [ep].wMaxPacketSize; + = iface_as->endpoint [i].wMaxPacketSize; } return 0;