Don't silently fail to post our fake MDL-ERROR(Z).

git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@1883 2fbb986a-6c06-0410-b554-c9c1f0a7f128
This commit is contained in:
Richard Mudgett
2010-08-25 16:38:29 +00:00
parent b83fc0c33f
commit b612ee46c1

2
q921.c
View File

@@ -1312,7 +1312,7 @@ static int q921_mdl_handle_ptp_error(struct pri *ctrl, char error)
static void q921_restart_ptp_link_if_needed(struct pri *ctrl)
{
if (PTP_MODE(ctrl) && ctrl->mdl_error == 0) {
if (PTP_MODE(ctrl)) {
q921_mdl_error(ctrl, 'Z');
}
}