[svn-commits] sruffell: linux/trunk r6244 - /linux/trunk/drivers/dahdi/wctc4xxp/base.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Mar 24 14:08:10 CDT 2009


Author: sruffell
Date: Tue Mar 24 14:08:06 2009
New Revision: 6244

URL: http://svn.digium.com/svn-view/dahdi?view=rev&rev=6244
Log:
Block runt packets from the transcoder.

Tested by: Walter Klomp

Modified:
    linux/trunk/drivers/dahdi/wctc4xxp/base.c

Modified: linux/trunk/drivers/dahdi/wctc4xxp/base.c
URL: http://svn.digium.com/svn-view/dahdi/linux/trunk/drivers/dahdi/wctc4xxp/base.c?view=diff&rev=6244&r1=6243&r2=6244
==============================================================================
--- linux/trunk/drivers/dahdi/wctc4xxp/base.c (original)
+++ linux/trunk/drivers/dahdi/wctc4xxp/base.c Tue Mar 24 14:08:06 2009
@@ -2380,7 +2380,6 @@
 	const struct csm_encaps_hdr *hdr = cmd->data;
 
 	if (!(hdr->control & MESSAGE_PACKET)) {
-
 		if (!(hdr->control & SUPPRESS_ACK))
 			wctc4xxp_send_ack(wc, hdr->seq_num, hdr->channel);
 
@@ -2685,7 +2684,7 @@
 	wctc4xxp_setctl(wc, 0x0000, reg | 0x60000);
 
 	/* Configure watchdogs, access, etc */
-	wctc4xxp_setctl(wc, 0x0030, 0x00280048);
+	wctc4xxp_setctl(wc, 0x0030, 0x00280040);
 	wctc4xxp_setctl(wc, 0x0078, 0x00000013);
 	reg = wctc4xxp_getctl(wc, 0x00fc);
 	wctc4xxp_setctl(wc, 0x00fc, (reg & ~0x7) | 0x7);




More information about the svn-commits mailing list