Signed-off-by: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]>
---
 drivers/usb/atm/speedtch.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- linux-2.6.19-rc3-usb.orig/drivers/usb/atm/speedtch.c
+++ linux-2.6.19-rc3-usb/drivers/usb/atm/speedtch.c
@@ -834,8 +834,8 @@ static int speedtch_bind(struct usbatm_d
                        const struct usb_endpoint_descriptor *endpoint_desc = 
&desc->endpoint[i].desc;
 
                        if ((endpoint_desc->bEndpointAddress == 
target_address)) {
-                               use_isoc = (endpoint_desc->bmAttributes & 
USB_ENDPOINT_XFERTYPE_MASK) ==
-                                       USB_ENDPOINT_XFER_ISOC;
+                               use_isoc =
+                                       usb_endpoint_xfer_isoc(endpoint_desc);
                                break;
                        }
                }

--
Luiz Fernando N. Capitulino

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to