Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Apr 2007 11:00:31 GMT
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 117996 for review
Message-ID:  <200704131100.l3DB0VNh006482@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=117996

Change 117996 by hselasky@hselasky_mini_itx on 2007/04/13 11:00:10

	Fix a bug where "usbd_find_edesc()" returns the wrong descriptor.
	Reported by Markus Henschel.

Affected files ...

.. //depot/projects/usb/src/sys/dev/usb/usb_subr.c#31 edit

Differences ...

==== //depot/projects/usb/src/sys/dev/usb/usb_subr.c#31 (text+ko) ====

@@ -352,7 +352,7 @@
 
 	        if (curidx == endptidx) {
 		    return ((desc->bLength >= USB_ENDPOINT_DESCRIPTOR_SIZE) ? 
-			    ((void *)d) : NULL);
+			    ((void *)desc) : NULL);
 		}
 		curidx++;
 	    }



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