summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-03-04 10:12:50 +0100
committerHarald Welte <laforge@gnumonks.org>2010-03-04 10:12:50 +0100
commit098cd4b50328790ecbd2d6e12a53f0f3177c6386 (patch)
tree4dbb76fe2e9444e5365c446917361e13295825f0
parent4fb20757c63c3809d0535545d96e2e9f62b6198b (diff)
fix rsl_enc_chan_nr() for SDCCH4
-rw-r--r--src/rsl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rsl.c b/src/rsl.c
index 62cd5624..6ba1375f 100644
--- a/src/rsl.c
+++ b/src/rsl.c
@@ -124,7 +124,7 @@ uint8_t rsl_enc_chan_nr(uint8_t type, uint8_t subch, uint8_t timeslot)
subch &= 0x01;
break;
case RSL_CHAN_SDCCH4_ACCH:
- subch &= 0x07;
+ subch &= 0x03;
break;
case RSL_CHAN_SDCCH8_ACCH:
subch &= 0x07;