diff options
Diffstat (limited to 'drivers/isdn')
-rw-r--r-- | drivers/isdn/mISDN/dsp_cmx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/isdn/mISDN/dsp_cmx.c b/drivers/isdn/mISDN/dsp_cmx.c index e92b1ba4b45e..c2f51cc50760 100644 --- a/drivers/isdn/mISDN/dsp_cmx.c +++ b/drivers/isdn/mISDN/dsp_cmx.c | |||
@@ -452,10 +452,10 @@ one_member: | |||
452 | if (finddsp->features.pcm_id == dsp->features.pcm_id) { | 452 | if (finddsp->features.pcm_id == dsp->features.pcm_id) { |
453 | if (finddsp->pcm_slot_rx >= 0 && | 453 | if (finddsp->pcm_slot_rx >= 0 && |
454 | finddsp->pcm_slot_rx < sizeof(freeslots)) | 454 | finddsp->pcm_slot_rx < sizeof(freeslots)) |
455 | freeslots[finddsp->pcm_slot_tx] = 0; | 455 | freeslots[finddsp->pcm_slot_rx] = 0; |
456 | if (finddsp->pcm_slot_tx >= 0 && | 456 | if (finddsp->pcm_slot_tx >= 0 && |
457 | finddsp->pcm_slot_tx < sizeof(freeslots)) | 457 | finddsp->pcm_slot_tx < sizeof(freeslots)) |
458 | freeslots[finddsp->pcm_slot_rx] = 0; | 458 | freeslots[finddsp->pcm_slot_tx] = 0; |
459 | } | 459 | } |
460 | } | 460 | } |
461 | i = 0; | 461 | i = 0; |