[git commit] setserial: small fix

Denys Vlasenko vda.linux at googlemail.com
Mon May 2 00:47:25 UTC 2011


commit: http://git.busybox.net/busybox/commit/?id=90ea1e34548e36e800b1c9699885167f9b3e9ff0
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 miscutils/setserial.c |    2 +-
 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:
-- 
1.7.3.4



More information about the busybox-cvs mailing list