71867c3de7
This is the same change for the wcte13xp driver but applied to the other xbus-based digital card. If dahdi_cfg set the DAHDI_CONFIG_NOTOPEN setting on the span, which it does when the "yellow" flag is added to the span config line, then it was possible for the span to get stuck with DAHDI_ALARM_NOTOPEN (NOP). This is because the driver only updates the alarm state when the framer reports that the span alarm has changed. Therefore, unless the framer goes through an alarm transition, the fact that channels are opened was never noticed by alarm handling routine. Now check the alarm state directly when the first channel is opened, and the last channel is closed. Internal-Issue-ID: DAHDI-1103 Signed-off-by: Shaun Ruffell <sruffell@digium.com> Signed-off-by: Russ Meyerriecks <rmeyerriecks@digium.com> |
||
---|---|---|
.. | ||
dahdi |