On Thu, Jan 20, 2005 at 04:22:56PM +0100, Rogier Wolff wrote: > On Thu, Jan 20, 2005 at 07:08:58AM -0800, Greg KH wrote: > > On Thu, Jan 20, 2005 at 03:54:22PM +0100, Rogier Wolff wrote: > > > Hi, > > > > > > When using custom baud rates, the code does: > > > > > > > > > if ((new_serial.baud_base != priv->baud_base) || > > > (new_serial.baud_base < 9600)) > > > return -EINVAL; > > > > > > Which translates to english as: > > > > > > If you changed the baud-base, OR the new one is > > > invalid, return invalid. > > > > > > but it should be: > > > > > > If you changed the baud-base, OR the new one is > > > invalid, return invalid. > > > > You mean AND, not OR here, right? :) > > :-) Sorry. Too noisy here. > > > > Patch attached. > > > > Have a 2.6 patch? > > Patch told me: > patching file drivers/usb/serial/ftdi_sio.c > Hunk #1 succeeded at 1137 (offset 156 lines). > > but the resulting patch is attached.
Applied, thanks. greg k-h - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/