Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jun 2020 22:15:45 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r361989 - stable/9/sys/dev/usb
Message-ID:  <202006092215.059MFjDK014347@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006092215.059MFjDK014347>