diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2011-11-02 17:05:38 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2011-11-02 17:05:38 +0000 |
commit | 6139ae072c2452bd97b5951ec0b4e12d85b93af6 (patch) | |
tree | 885c96af4e49066629c2f91dcded43ea87b288d6 /drivers/dahdi/xpp/card_bri.c | |
parent | 2009ce87cd47400f42d7cbf6b68ce472c485d93c (diff) |
xpp: bugfix: clear NOTOPEN span alarm on assign
The NOTOPEN span alarm flag is set at span unassignment time.
* It needs to be cleared when the span is reassigned.
* That is: only if the span is actually connected.
Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10302 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/xpp/card_bri.c')
-rw-r--r-- | drivers/dahdi/xpp/card_bri.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dahdi/xpp/card_bri.c b/drivers/dahdi/xpp/card_bri.c index a6296f0..1f32eb4 100644 --- a/drivers/dahdi/xpp/card_bri.c +++ b/drivers/dahdi/xpp/card_bri.c @@ -863,6 +863,7 @@ static const struct dahdi_span_ops BRI_span_ops = { .maint = xpp_maint, .echocan_create = xpp_echocan_create, .echocan_name = xpp_echocan_name, + .assigned = xpp_span_assigned, #ifdef DAHDI_SYNC_TICK .sync_tick = dahdi_sync_tick, #endif |