diff options
| author | Huang Rui <[email protected]> | 2013-09-24 00:03:43 +0800 |
|---|---|---|
| committer | Felipe Balbi <[email protected]> | 2013-10-01 09:39:07 -0500 |
| commit | 77a3a0aa39da49499c4029ee8c4227dac362a076 (patch) | |
| tree | 9950d4d917869b4757409320f50229657a7131b8 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | d9681ee0812a7502838032bc5f935c2af650b036 (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.
Acked-by: Alan Stern <[email protected]>
Signed-off-by: Huang Rui <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions