summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOron Peled <oron@actcom.co.il>2011-01-30 18:33:37 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2011-01-30 18:33:37 +0000
commitbfb586396580a2a07650aedd095f01a48e332994 (patch)
tree2b01cfb23f16083e494c3a3ae0b3a03ab30ed212
parented34941d2d4ea90ef48af0db55e8d09988eb41da (diff)
xpd_pri: Explicit initialization of span.alarms
Signed-off-by: Oron Peled <oron@actcom.co.il> Acked-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9718 a0bf4364-ded3-4de4-8d8a-66a801d63aff
-rw-r--r--drivers/dahdi/xpp/card_pri.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dahdi/xpp/card_pri.c b/drivers/dahdi/xpp/card_pri.c
index 3ada1fd..c283cbe 100644
--- a/drivers/dahdi/xpp/card_pri.c
+++ b/drivers/dahdi/xpp/card_pri.c
@@ -1319,6 +1319,7 @@ static int PRI_card_dahdi_preregistration(xpd_t *xpd, bool on)
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);