diff --git a/drivers/isdn/teles/callc.c b/drivers/isdn/teles/callc.c index 8cf6869f..4f96325c 100644 --- a/drivers/isdn/teles/callc.c +++ b/drivers/isdn/teles/callc.c @@ -1,6 +1,9 @@ /* $Id$ * * $Log$ + * Revision 1.12 1996/06/12 16:15:33 fritz + * Extended user-configurable debugging flags. + * * Revision 1.11 1996/06/07 12:32:20 fritz * More changes to support suspend/resume. * @@ -1421,12 +1424,15 @@ teles_writebuf(int id, int chan, const u_char * buf, int count, int user) if (!chanp->data_open) { printk(KERN_DEBUG "teles_writebuf: channel not open\n"); - return -ENOMEM; + return -EIO; } err = BufPoolGet(&ibh, st->l1.sbufpool, GFP_ATOMIC, st, 21); if (err) - return -ENOMEM; + /* Must return 0 here, since this is not an error + * but a temporary lack of resources. + */ + return 0; ptr = DATAPTR(ibh); if (chanp->lc_b.l2_establish)