diff options
Diffstat (limited to 'drivers/dahdi/voicebus/GpakCust.c')
-rw-r--r-- | drivers/dahdi/voicebus/GpakCust.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dahdi/voicebus/GpakCust.c b/drivers/dahdi/voicebus/GpakCust.c index db2122f..2ba7876 100644 --- a/drivers/dahdi/voicebus/GpakCust.c +++ b/drivers/dahdi/voicebus/GpakCust.c @@ -377,7 +377,7 @@ static void vpmadt032_bh(struct work_struct *data) unsigned int channel; channel = order->channel; - BUG_ON(channel >= MAX_CHANNELS_PER_SPAN); + BUG_ON(channel >= ARRAY_SIZE(vpm->curecstate)); old = &vpm->curecstate[channel]; new = &order->params; |