Subject: CVS commit: syssrc/sys/dev/usb
To: None <source-changes@netbsd.org>
From: IWAMOTO Toshihiro <toshii@netbsd.org>
List: source-changes
Date: 12/02/2002 04:36:15
Module Name:	syssrc
Committed By:	toshii
Date:		Mon Dec  2 02:36:15 UTC 2002

Modified Files:
	syssrc/sys/dev/usb: uaudio.c

Log Message:
Don't stuff extra data when we receive data less than expected.
This situation is normal for asynchronous sources, and the byte stuffing
algorithm used generates unpleasant noise.
Also take care of scattered data buffer and do memcpy correctly.

This should fix PR kern/16385.


To generate a diff of this commit:
cvs rdiff -r1.61 -r1.62 syssrc/sys/dev/usb/uaudio.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.