diff options
Diffstat (limited to 'drivers/char/ip2/i2lib.c')
-rw-r--r-- | drivers/char/ip2/i2lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/ip2/i2lib.c b/drivers/char/ip2/i2lib.c index ba85eb1b6ec7..fc944d375be7 100644 --- a/drivers/char/ip2/i2lib.c +++ b/drivers/char/ip2/i2lib.c | |||
@@ -854,7 +854,7 @@ i2Input(i2ChanStrPtr pCh) | |||
854 | count += IBUF_SIZE; | 854 | count += IBUF_SIZE; |
855 | } | 855 | } |
856 | // Don't give more than can be taken by the line discipline | 856 | // Don't give more than can be taken by the line discipline |
857 | amountToMove = pCh->pTTY->ldisc.receive_room( pCh->pTTY ); | 857 | amountToMove = pCh->pTTY->receive_room; |
858 | if (count > amountToMove) { | 858 | if (count > amountToMove) { |
859 | count = amountToMove; | 859 | count = amountToMove; |
860 | } | 860 | } |