|
@@ -126,7 +126,7 @@ ep_matches (
|
|
* descriptor and see if the EP matches it
|
|
* descriptor and see if the EP matches it
|
|
*/
|
|
*/
|
|
if (usb_endpoint_xfer_bulk(desc)) {
|
|
if (usb_endpoint_xfer_bulk(desc)) {
|
|
- if (ep_comp) {
|
|
|
|
|
|
+ if (ep_comp && gadget->max_speed >= USB_SPEED_SUPER) {
|
|
num_req_streams = ep_comp->bmAttributes & 0x1f;
|
|
num_req_streams = ep_comp->bmAttributes & 0x1f;
|
|
if (num_req_streams > ep->max_streams)
|
|
if (num_req_streams > ep->max_streams)
|
|
return 0;
|
|
return 0;
|