diff -urN clinux/czaptel.c clinux.501b2.s/czaptel.c--- clinux/czaptel.c 2005-06-10 21:25:33.000000000 +0400+++ clinux.501b2.s/czaptel.c 2005-10-30 18:10:47.000000000 +0300@@ -21,6 +21,8 @@ #include "cserial.h" #include "zaptel.h"+#define ZT_BLOCKSIZE 1+ /* Module information */ MODULE_AUTHOR("Roma Kurakin <rik@cronyx.ru>, Cronyx Engineering."); MODULE_DESCRIPTION("Zaptel protocol driver " CRONYX_VERSION_INFO " ");@@ -196,7 +198,7 @@ if (p->flag == 0) { unsigned char *buf;- skb = dev_alloc_skb (32*ZT_CHUNKSIZE * 4);+ skb = dev_alloc_skb (32*ZT_CHUNKSIZE * ZT_BLOCKSIZE); if (!skb) { p->txbusy = 0;@@ -205,10 +207,10 @@ } p->txskb = skb;- skb_put (skb, 32*ZT_CHUNKSIZE * 4);+ skb_put (skb, 32*ZT_CHUNKSIZE * ZT_BLOCKSIZE); p->flag = 1;- for (buf = skb->data; buf < skb->data + 32*ZT_CHUNKSIZE*4; buf += 32*ZT_CHUNKSIZE) {+ for (buf = skb->data; buf < skb->data + 32*ZT_CHUNKSIZE*ZT_BLOCKSIZE; buf += 32*ZT_CHUNKSIZE) { zt_transmit(&p->span); for (y=0;y<ZT_CHUNKSIZE;y++) { if (p->cas && p->cas_rbsbits_tx[0] != 0x0b) {