diff options
-rw-r--r-- | drivers/isdn/mISDN/dsp_cmx.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/isdn/mISDN/dsp_cmx.c b/drivers/isdn/mISDN/dsp_cmx.c index b16f76c2d684..04dbb407f7a0 100644 --- a/drivers/isdn/mISDN/dsp_cmx.c +++ b/drivers/isdn/mISDN/dsp_cmx.c | |||
@@ -744,11 +744,11 @@ conf_software: | |||
744 | if (dsp->pcm_slot_rx >= 0 && | 744 | if (dsp->pcm_slot_rx >= 0 && |
745 | dsp->pcm_slot_rx < | 745 | dsp->pcm_slot_rx < |
746 | sizeof(freeslots)) | 746 | sizeof(freeslots)) |
747 | freeslots[dsp->pcm_slot_tx] = 0; | 747 | freeslots[dsp->pcm_slot_rx] = 0; |
748 | if (dsp->pcm_slot_tx >= 0 && | 748 | if (dsp->pcm_slot_tx >= 0 && |
749 | dsp->pcm_slot_tx < | 749 | dsp->pcm_slot_tx < |
750 | sizeof(freeslots)) | 750 | sizeof(freeslots)) |
751 | freeslots[dsp->pcm_slot_rx] = 0; | 751 | freeslots[dsp->pcm_slot_tx] = 0; |
752 | } | 752 | } |
753 | } | 753 | } |
754 | i = 0; | 754 | i = 0; |
@@ -836,11 +836,11 @@ conf_software: | |||
836 | if (dsp->pcm_slot_rx >= 0 && | 836 | if (dsp->pcm_slot_rx >= 0 && |
837 | dsp->pcm_slot_rx < | 837 | dsp->pcm_slot_rx < |
838 | sizeof(freeslots)) | 838 | sizeof(freeslots)) |
839 | freeslots[dsp->pcm_slot_tx] = 0; | 839 | freeslots[dsp->pcm_slot_rx] = 0; |
840 | if (dsp->pcm_slot_tx >= 0 && | 840 | if (dsp->pcm_slot_tx >= 0 && |
841 | dsp->pcm_slot_tx < | 841 | dsp->pcm_slot_tx < |
842 | sizeof(freeslots)) | 842 | sizeof(freeslots)) |
843 | freeslots[dsp->pcm_slot_rx] = 0; | 843 | freeslots[dsp->pcm_slot_tx] = 0; |
844 | } | 844 | } |
845 | } | 845 | } |
846 | i1 = 0; | 846 | i1 = 0; |