[PATCH 1/2] port-serial: add B230400 and B921600 missing baudrates
Aleksander Morgado
aleksander at aleksander.es
Wed May 10 12:43:07 UTC 2017
On 08/05/17 10:45, Javier Viguera wrote:
> So MM can use them when opening a specific serial port.
>
> Signed-off-by: Javier Viguera <javier.viguera at digi.com>
Pushed to git master, thanks.
> ---
> src/mm-port-serial.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/src/mm-port-serial.c b/src/mm-port-serial.c
> index 04ab17fe1675..b6359d28acd3 100644
> --- a/src/mm-port-serial.c
> +++ b/src/mm-port-serial.c
> @@ -260,9 +260,15 @@ parse_baudrate (guint baudrate_num,
> case 115200:
> speed = B115200;
> break;
> + case 230400:
> + speed = B230400;
> + break;
> case 460800:
> speed = B460800;
> break;
> + case 921600:
> + speed = B921600;
> + break;
> default:
> return FALSE;
> }
> _______________________________________________
> ModemManager-devel mailing list
> ModemManager-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel
>
--
Aleksander
https://aleksander.es
More information about the ModemManager-devel
mailing list