summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2019-05-21 00:41:17 +0300
committerVadim Yanitskiy <axilirator@gmail.com>2019-05-21 00:41:17 +0300
commit80b6ddc26890e56d07c98c1100d2ca43af663033 (patch)
treeb957eeeba310b98022069c07d05d44aca41cb178
parentf92fb2c572fce1d90ba4c6e452834d14488cba25 (diff)
firmware/l23_api.c: fix: properly handle CBCH chan_nrfixeria/cbch
-rw-r--r--src/target/firmware/layer1/l23_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/firmware/layer1/l23_api.c b/src/target/firmware/layer1/l23_api.c
index daffaf8b..7b4f55b5 100644
--- a/src/target/firmware/layer1/l23_api.c
+++ b/src/target/firmware/layer1/l23_api.c
@@ -100,7 +100,7 @@ static uint32_t chan_nr2mf_task_mask(uint8_t chan_nr, uint8_t neigh_mode)
} else if ((cbits & 0x1e) == 0x18) {
/* Osmocom specific extension for CBCH */
master_task = (cbits & 0x01) ? /* 0b1100T */
- MF_TASK_SDCCH4_CBCH : MF_TASK_SDCCH8_CBCH;
+ MF_TASK_SDCCH8_CBCH : MF_TASK_SDCCH4_CBCH;
multiframe = MF51;
#if 0
} else if (cbits == 0x10) {