[dahdi-commits] mattf: linux/trunk r4865 - /linux/trunk/include/dahdi/fasthdlc.h

SVN commits to the DAHDI project dahdi-commits at lists.digium.com
Thu Sep 4 16:42:30 CDT 2008


Author: mattf
Date: Thu Sep  4 16:42:29 2008
New Revision: 4865

URL: http://svn.digium.com/view/dahdi?view=rev&rev=4865
Log:
Some picky switches require the LSB to be 1 for 56k links

Modified:
    linux/trunk/include/dahdi/fasthdlc.h

Modified: linux/trunk/include/dahdi/fasthdlc.h
URL: http://svn.digium.com/view/dahdi/linux/trunk/include/dahdi/fasthdlc.h?view=diff&rev=4865&r1=4864&r2=4865
==============================================================================
--- linux/trunk/include/dahdi/fasthdlc.h (original)
+++ linux/trunk/include/dahdi/fasthdlc.h Thu Sep  4 16:42:29 2008
@@ -414,7 +414,7 @@
 		h->bits -= 7;
 		h->data <<= 7;
 
-		return b << 1;
+		return ((b & 0x7f) << 1) | 1;
 	} else {
 		b = h->data >> 24;
 		h->bits -= 8;




More information about the dahdi-commits mailing list