From 5dceed8aeb842ffa34ee9d09446731e4916a9019 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Sat, 8 Mar 2014 19:59:52 +0000 Subject: Back out r262921. I don't know what I was thinking, but it is lame. --- sys/dev/uart/uart_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev') diff --git a/sys/dev/uart/uart_core.c b/sys/dev/uart/uart_core.c index 1ab1daea3907..eea2d8ce80a1 100644 --- a/sys/dev/uart/uart_core.c +++ b/sys/dev/uart/uart_core.c @@ -473,7 +473,7 @@ uart_bus_attach(device_t dev) } if (sc->sc_sysdev != NULL) { - if (sc->sc_sysdev->baudrate != 0) { + if (sc->sc_sysdev->baudrate == 0) { if (UART_IOCTL(sc, UART_IOCTL_BAUD, (intptr_t)&sc->sc_sysdev->baudrate) != 0) sc->sc_sysdev->baudrate = -1; -- cgit v1.2.3