git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
USB: serial: cyberjack: fix NULL-deref at open
[pandora-kernel.git]
/
drivers
/
tty
/
moxa.c
diff --git
a/drivers/tty/moxa.c
b/drivers/tty/moxa.c
index
d15a071
..
0174d2d
100644
(file)
--- a/
drivers/tty/moxa.c
+++ b/
drivers/tty/moxa.c
@@
-1331,7
+1331,7
@@
static void moxa_start(struct tty_struct *tty)
if (ch == NULL)
return;
- if (!
(ch->statusflags & TXSTOPPED
))
+ if (!
test_bit(TXSTOPPED, &ch->statusflags
))
return;
MoxaPortTxEnable(ch);