USB: cdc-acm: Use usb_endpoint_* functions

Signed-off-by: Luiz Fernando N. Capitulino <lcapitulino@mandriva.com.br>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Luiz Fernando N. Capitulino 2006-10-26 13:02:48 -03:00 коммит произвёл Greg Kroah-Hartman
Родитель b333d5bfd7
Коммит 45aea704d1
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -892,7 +892,7 @@ skip_normal_probe:
/* workaround for switched endpoints */
if ((epread->bEndpointAddress & USB_DIR_IN) != USB_DIR_IN) {
if (!usb_endpoint_dir_in(epread)) {
/* descriptors are swapped */
struct usb_endpoint_descriptor *t;
dev_dbg(&intf->dev,"The data interface has switched endpoints");