]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Use the correct operator when calculating the PRI span devstate.
authorRichard Mudgett <rmudgett@digium.com>
Wed, 18 Aug 2010 15:27:51 +0000 (15:27 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Wed, 18 Aug 2010 15:27:51 +0000 (15:27 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282671 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_dahdi.c

index da727ce2c34acafd31a21db29d3afd12a152b486..58819d08f2580c576d2a9a2575618e0d836d6469 100644 (file)
@@ -3112,7 +3112,7 @@ static void dahdi_pri_update_span_devstate(struct sig_pri_span *pri)
                        if (pri->pvts[idx]->owner
 #if defined(HAVE_PRI_SERVICE_MESSAGES)
                                /* Out-of-service B channels are "in-use". */
-                               && pri->pvts[idx]->service_status
+                               || pri->pvts[idx]->service_status
 #endif /* defined(HAVE_PRI_SERVICE_MESSAGES) */
                                ) {
                                ++in_use;