summaryrefslogtreecommitdiff
path: root/drivers/dahdi/xpp/card_pri.c
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2010-07-13 13:59:24 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2010-07-13 13:59:24 +0000
commit1e2c6ccd5ea086c07c02208999d8ec254ee93a6a (patch)
treec87a3978eb4eae26d0b4f4e8bcb07394c2965cd5 /drivers/dahdi/xpp/card_pri.c
parent69c08029b6c9f6e1c5a37a3650cccf9df77aa7a0 (diff)
Don't reset span flag RBS on pri module
Don't attempt to reset the span flag DAHDI_FLAG_RBS. At pre-registration we don't yet know if we're CAS or not. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8896 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/xpp/card_pri.c')
-rw-r--r--drivers/dahdi/xpp/card_pri.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/dahdi/xpp/card_pri.c b/drivers/dahdi/xpp/card_pri.c
index 5a8f2cd..b03ad02 100644
--- a/drivers/dahdi/xpp/card_pri.c
+++ b/drivers/dahdi/xpp/card_pri.c
@@ -1310,8 +1310,6 @@ static int PRI_card_dahdi_preregistration(xpd_t *xpd, bool on)
cur_chan->flags &= ~DAHDI_FLAG_HDLC;
}
}
- if(!priv->is_cas)
- clear_bit(DAHDI_FLAGBIT_RBS, &xpd->span.flags);
xpd->span.spanconfig = pri_spanconfig;
xpd->span.chanconfig = pri_chanconfig;
xpd->span.startup = pri_startup;