commit | 9a37a50349c8d6a7adcee21cefae407fb2f8c623 | [log] [tgz] |
---|---|---|
author | Huang Rui <ray.huang@amd.com> | Tue Sep 24 00:03:43 2013 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Sep 25 17:27:01 2013 -0700 |
tree | 8f351dd29a4c4155da6c22a07ec11dc2c1ca23ae | |
parent | 8eb4129929e9eb563fbab807a2b274d32042d034 [diff] |
usb: usbtest: bmAttributes would better be masked When transfer type is isochronous, the other bits (bits 5..2) of bmAttributes in endpoint descriptor might not be set zero. So it's better to use usb_endpoint_type routine to mask bmAttributes with USB_ENDPOINT_XFERTYPE_MASK to judge the transfter type later. Signed-off-by: Huang Rui <ray.huang@amd.com> Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>