fixed problem of too small queue.

This commit is contained in:
Armin Schindler 2000-08-12 15:06:11 +00:00
parent fdbd010ff3
commit 22e38fe1bf
2 changed files with 3 additions and 7 deletions

View File

@ -2995,12 +2995,8 @@ idi_send_data(eicon_card *card, eicon_chan *chan, int ack, struct sk_buff *skb,
if (!len)
return 0;
if (chk) {
if (chan->pqueued > 7)
return 0;
if (chan->queued + len > EICON_MAX_QUEUE)
return 0;
}
if ((chk) && (chan->pqueued > 1))
return 0;
eicon_log(card, 128, "idi_snd: Ch%d: %d bytes (Pqueue=%d)\n",
chan->No, len, chan->pqueued);

View File

@ -32,7 +32,7 @@
#define DRIVERNAME "Eicon active ISDN driver"
#define DRIVERRELEASE "2.0"
#define DRIVERPATCH ".12"
#define DRIVERPATCH ".13"
#include <linux/config.h>