From 15200b498525b042565d0b9ac3f70d24ca29622c Mon Sep 17 00:00:00 2001 From: Matthew Fredrickson Date: Thu, 4 Sep 2008 21:42:29 +0000 Subject: Some picky switches require the LSB to be 1 for 56k links git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4865 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- include/dahdi/fasthdlc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/dahdi/fasthdlc.h') diff --git a/include/dahdi/fasthdlc.h b/include/dahdi/fasthdlc.h index 20beeb6..6151907 100644 --- a/include/dahdi/fasthdlc.h +++ b/include/dahdi/fasthdlc.h @@ -414,7 +414,7 @@ static inline int fasthdlc_tx_run_nocheck(struct fasthdlc_state *h) h->bits -= 7; h->data <<= 7; - return b << 1; + return ((b & 0x7f) << 1) | 1; } else { b = h->data >> 24; h->bits -= 8; -- cgit v1.2.3