ChangeSet 1.1608.84.4, 2004/03/08 11:53:44-08:00, greg@kroah.com USB: fix usb-serial core to look at the proper interface descriptor drivers/usb/serial/usb-serial.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -Nru a/drivers/usb/serial/usb-serial.c b/drivers/usb/serial/usb-serial.c --- a/drivers/usb/serial/usb-serial.c Tue Mar 16 15:03:47 2004 +++ b/drivers/usb/serial/usb-serial.c Tue Mar 16 15:03:47 2004 @@ -1006,7 +1006,7 @@ /* descriptor matches, let's find the endpoints needed */ /* check out the endpoints */ - iface_desc = &interface->altsetting[0]; + iface_desc = interface->cur_altsetting; for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { endpoint = &iface_desc->endpoint[i].desc;