setserial: small fix

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2011-05-02 02:47:25 +02:00
parent fcbc641fe3
commit 90ea1e3454

View File

@ -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: