setserial: small fix

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
1_19_stable
Denys Vlasenko 2011-05-02 02:47:25 +02:00
parent fcbc641fe3
commit 90ea1e3454
1 changed files with 1 additions and 1 deletions

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: