svn commit: r361989 - stable/9/sys/dev/usb

Hans Petter Selasky hselasky at FreeBSD.org
Tue Jun 9 22:15:46 UTC 2020


Author: hselasky
Date: Tue Jun  9 22:15:45 2020
New Revision: 361989
URL: https://svnweb.freebsd.org/changeset/base/361989

Log:
  Adapt merge of r361581 to 9-stable to unbreak kernel compilation.
  
  This is a direct commit.
  
  Sponsored by:	Mellanox Technologies

Modified:
  stable/9/sys/dev/usb/usb_transfer.c

Modified: stable/9/sys/dev/usb/usb_transfer.c
==============================================================================
--- stable/9/sys/dev/usb/usb_transfer.c	Tue Jun  9 21:59:13 2020	(r361988)
+++ stable/9/sys/dev/usb/usb_transfer.c	Tue Jun  9 22:15:45 2020	(r361989)
@@ -354,8 +354,7 @@ usbd_get_max_frame_length(const struct usb_endpoint_de
 			if (ecomp != NULL) {
 				uint8_t mult;
 
-				mult = UE_GET_SS_ISO_MULT(
-				    ecomp->bmAttributes) + 1;
+				mult = (ecomp->bmAttributes & 3) + 1;
 				if (mult > 3)
 					mult = 3;
 


More information about the svn-src-stable-9 mailing list