diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-06-27 11:29:54 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-06-27 11:29:54 +0000 |
| commit | ae404e3427eed77c22e0c4df821ff9d978d9ac93 (patch) | |
| tree | 0f9967ee46d16783a1e2223f3c1103ab1021bf5e /sys/dev/sio/sio.c | |
| parent | e3625e9c225443b7039411738470aa1526152d12 (diff) | |
Notes
Diffstat (limited to 'sys/dev/sio/sio.c')
| -rw-r--r-- | sys/dev/sio/sio.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c index 1dbf3c811f6c..0ecdef798cc5 100644 --- a/sys/dev/sio/sio.c +++ b/sys/dev/sio/sio.c @@ -1875,7 +1875,8 @@ siointr1(com) recv_data = 0; } ++com->bytes_in; - if (com->tp->t_hotchar != 0 && recv_data == com->tp->t_hotchar) + if (com->tp != NULL && + com->tp->t_hotchar != 0 && recv_data == com->tp->t_hotchar) swi_sched(sio_fast_ih, 0); ioptr = com->iptr; if (ioptr >= com->ibufend) |
