usb: gadget: obex: select correct ep descriptors
authorFelipe Balbi <felipe.balbi@nokia.com>
Tue, 10 Feb 2009 17:01:52 +0000 (19:01 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 27 Feb 2009 22:40:50 +0000 (14:40 -0800)
commit29a46bf6f4f57df22f91573bb482a24237741347
tree41fd265a75ba1d4283cd3e4dbcba9f0d734f56ba
parent9aa09d2f8f4bc440d6db1c3414d4009642875240
usb: gadget: obex: select correct ep descriptors

We where selecting wrong ep descriptors causing
some troubles while sending files over obex interface.

The problem was a typo while usb_find_endpoint() was being
called for HS endpoints.

Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/f_obex.c