diff options
Diffstat (limited to 'drivers/dahdi/tor2.c')
-rw-r--r-- | drivers/dahdi/tor2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dahdi/tor2.c b/drivers/dahdi/tor2.c index f30f9f7..93e0dbd 100644 --- a/drivers/dahdi/tor2.c +++ b/drivers/dahdi/tor2.c @@ -1397,7 +1397,7 @@ DAHDI_IRQ_HANDLER(tor2_intr) /* go thru all chans, and count # open */ for (n = 0, k = 0; k < tor->tspans[i].dahdi_span.channels; k++) { if (((tor->chans[i][k])->flags & DAHDI_FLAG_OPEN) || - ((tor->chans[i][k])->flags & DAHDI_FLAG_NETDEV)) + dahdi_have_netdev(tor->chans[i][k])) n++; } /* if none open, set alarm condition */ |