diff options
-rw-r--r-- | miscutils/setserial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/setserial.c b/miscutils/setserial.c index 501beaacc..2951b987d 100644 --- a/miscutils/setserial.c +++ b/miscutils/setserial.c @@ -687,7 +687,7 @@ static void serial_set(char **arg, int opts) case CMD_SPD_SHI: case CMD_SPD_WARP: case CMD_SPD_CUST: - serinfo.flags &= ASYNC_SPD_MASK; + serinfo.flags &= ~ASYNC_SPD_MASK; /* fallthrough */ case CMD_FLAG_SAK: case CMD_FLAG_FOURPORT: |