From b612ee46c18cb71d1a90d0f0e43c581ee73ef192 Mon Sep 17 00:00:00 2001 From: Richard Mudgett Date: Wed, 25 Aug 2010 16:38:29 +0000 Subject: [PATCH] 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 --- q921.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/q921.c b/q921.c index 3d46ab5..fd45518 100644 --- a/q921.c +++ b/q921.c @@ -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'); } }