summaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
authorDenys Vlasenko2011-05-02 02:47:25 +0200
committerDenys Vlasenko2011-05-02 02:47:25 +0200
commit90ea1e34548e36e800b1c9699885167f9b3e9ff0 (patch)
treea5a51a5ad17fadadcdb28df894f1c42f6585f510 /miscutils
parentfcbc641fe36a2ceff334362cc6ba62b000c842a5 (diff)
downloadbusybox-90ea1e34548e36e800b1c9699885167f9b3e9ff0.zip
busybox-90ea1e34548e36e800b1c9699885167f9b3e9ff0.tar.gz
setserial: small fix
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/setserial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/setserial.c b/miscutils/setserial.c
index 501beaa..2951b98 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: