[dahdi-commits] tzafrir: linux/trunk r9718 - /linux/trunk/drivers/dahdi/xpp/card_pri.c
SVN commits to the DAHDI project
dahdi-commits at lists.digium.com
Sun Jan 30 12:33:41 CST 2011
Author: tzafrir
Date: Sun Jan 30 12:33:37 2011
New Revision: 9718
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=9718
Log:
xpd_pri: Explicit initialization of span.alarms
Signed-off-by: Oron Peled <oron at actcom.co.il>
Acked-by: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
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=9718&r1=9717&r2=9718
==============================================================================
--- linux/trunk/drivers/dahdi/xpp/card_pri.c (original)
+++ linux/trunk/drivers/dahdi/xpp/card_pri.c Sun Jan 30 12:33:37 2011
@@ -1319,6 +1319,7 @@
PHONEDEV(xpd).span.spantype = pri_protocol_name(priv->pri_protocol);
PHONEDEV(xpd).span.linecompat = pri_linecompat(priv->pri_protocol);
PHONEDEV(xpd).span.deflaw = priv->deflaw;
+ PHONEDEV(xpd).span.alarms = DAHDI_ALARM_NONE;
for_each_line(xpd, i) {
struct dahdi_chan *cur_chan = XPD_CHAN(xpd, i);
bool is_dchan = i == PRI_DCHAN_IDX(priv);
More information about the dahdi-commits
mailing list