[svn-commits] tzafrir: linux/trunk r9028 - /linux/trunk/drivers/dahdi/xpp/card_pri.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Wed Jul 28 05:31:05 CDT 2010
Author: tzafrir
Date: Wed Jul 28 05:30:54 2010
New Revision: 9028
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=9028
Log:
Ignore Reg. 0x70 messages at E1.
Modified:
linux/trunk/drivers/dahdi/xpp/card_pri.c
Modified: linux/trunk/drivers/dahdi/xpp/card_pri.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/xpp/card_pri.c?view=diff&rev=9028&r1=9027&r2=9028
==============================================================================
--- linux/trunk/drivers/dahdi/xpp/card_pri.c (original)
+++ linux/trunk/drivers/dahdi/xpp/card_pri.c Wed Jul 28 05:30:54 2010
@@ -2081,6 +2081,10 @@
if(regnum == REG_RS1_E)
return; /* Time slot 0: Ignored for E1 */
if(regnum < REG_RS2_E) {
+ /* Should not happen, but harmless. Ignore */
+ if (regnum == REG_RS1_E)
+ return;
+
XPD_NOTICE(xpd,
"%s: received register 0x%X in protocol %s. Ignore\n",
__FUNCTION__, regnum, pri_protocol_name(priv->pri_protocol));
More information about the svn-commits
mailing list