# This is a BitKeeper generated patch for the following project: # Project Name: Linux kernel tree # This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas: # ChangeSet 1.611.1.2 -> 1.611.1.3 # drivers/net/irda/irda-usb.c 1.25 -> 1.26 # # The following is the BitKeeper ChangeSet Log # -------------------------------------------- # 02/09/26 greg@kroah.com 1.611.1.3 # USB: fix ifnum usage that was missed in the previous irda-usb patch # -------------------------------------------- # diff -Nru a/drivers/net/irda/irda-usb.c b/drivers/net/irda/irda-usb.c --- a/drivers/net/irda/irda-usb.c Fri Sep 27 12:30:22 2002 +++ b/drivers/net/irda/irda-usb.c Fri Sep 27 12:30:22 2002 @@ -1487,7 +1487,7 @@ * specify an alternate, but very few driver do like this. * Jean II */ ret = usb_set_interface(dev, intf->altsetting->bInterfaceNumber, 0); - IRDA_DEBUG(1, "usb-irda: set interface %d result %d\n", ifnum, ret); + IRDA_DEBUG(1, "usb-irda: set interface %d result %d\n", intf->altsetting->bInterfaceNumber, ret); switch (ret) { case 0: break;