diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 1998-02-13 12:46:28 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1998-02-13 12:46:28 +0000 |
| commit | a4daaa09f27593c420c7c693b2f2d7cf892d1587 (patch) | |
| tree | 6856880c5a705de6f0b15d8fbd880d773f2ac5eb /sys/dev/rc | |
| parent | a744622f691558747b31795d59bc2f5a80a2b7b1 (diff) | |
Notes
Diffstat (limited to 'sys/dev/rc')
| -rw-r--r-- | sys/dev/rc/rc.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/dev/rc/rc.c b/sys/dev/rc/rc.c index 2779bbf5087df..784527f42668b 100644 --- a/sys/dev/rc/rc.c +++ b/sys/dev/rc/rc.c @@ -1476,12 +1476,7 @@ disc_optim(tp, t, rc) tp->t_state |= TS_CAN_BYPASS_L_RINT; else tp->t_state &= ~TS_CAN_BYPASS_L_RINT; - if (tp->t_line == SLIPDISC) - rc->rc_hotchar = 0xc0; - else if (tp->t_line == PPPDISC) - rc->rc_hotchar = 0x7e; - else - rc->rc_hotchar = 0; + rc->rc_hotchar = linesw[tp->t_line].l_hotchar; } static void |
