• Rogier Wolff's avatar
    [PATCH] Re: Bug when using custom baud rates.... · c633526d
    Rogier Wolff authored
     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.
    
    
    From: Rogier Wolff <R.E.Wolff@harddisk-recovery.nl>
    Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
    c633526d
ftdi_sio.c 82.9 KB