[svn-commits] rmudgett: mISDN/trunk r167 - /mISDN/trunk/drivers/isdn/hardware/mISDN/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Mar 22 14:33:29 CDT 2010


Author: rmudgett
Date: Mon Mar 22 14:33:26 2010
New Revision: 167

URL: http://svnview.digium.com/svn/thirdparty?view=rev&rev=167
Log:
mISDN packetsize on datacalls too big

On misdn1_1_9.1-Digium- during datacalls the transmitted HDLC frames are
200 bytes too big.

The patch makes the TX-FIFO prefill optional dependent on FLG_HDLC of the
mISDN channel.

Patches:
      HDLC-fix.dif (uploaded by Matt Fredrickson)

JIRA ABE-2087

Modified:
    mISDN/trunk/drivers/isdn/hardware/mISDN/hfc_multi.c

Modified: mISDN/trunk/drivers/isdn/hardware/mISDN/hfc_multi.c
URL: http://svnview.digium.com/svn/thirdparty/mISDN/trunk/drivers/isdn/hardware/mISDN/hfc_multi.c?view=diff&rev=167&r1=166&r2=167
==============================================================================
--- mISDN/trunk/drivers/isdn/hardware/mISDN/hfc_multi.c (original)
+++ mISDN/trunk/drivers/isdn/hardware/mISDN/hfc_multi.c Mon Mar 22 14:33:26 2010
@@ -1488,7 +1488,7 @@
 	if (Zspace < 4) /* just to be safe */
 		return;
 
-	if ((z1 == z2) && test_bit(FLG_BCHANNEL, &chan->Flags)) {
+	if ((z1 == z2) && test_bit(FLG_BCHANNEL, &chan->Flags) && !test_bit(FLG_HDLC, &chan->Flags)) {
 		if (debug & DEBUG_HFCMULTI_TXFIFO)
 			printk("[%d]: FIFO empty: %s and %s\n", chan->channel, str, len ? "have data" : "no data");
 




More information about the svn-commits mailing list