aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/l1sap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/l1sap.c')
-rw-r--r--src/common/l1sap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/l1sap.c b/src/common/l1sap.c
index 0ce1e4a0..9116e23f 100644
--- a/src/common/l1sap.c
+++ b/src/common/l1sap.c
@@ -381,9 +381,9 @@ static unsigned int calc_exprd_rach_frames(struct gsm_bts *bts, uint32_t fn)
* See also TS 04.08, Chapter 10.5.2.11, table 10.29 */
if (ccch_conf == RSL_BCCH_CCCH_CONF_2_NC)
rach_frames_expired = 2;
- if (ccch_conf == RSL_BCCH_CCCH_CONF_3_NC)
+ else if (ccch_conf == RSL_BCCH_CCCH_CONF_3_NC)
rach_frames_expired = 3;
- if (ccch_conf == RSL_BCCH_CCCH_CONF_4_NC)
+ else if (ccch_conf == RSL_BCCH_CCCH_CONF_4_NC)
rach_frames_expired = 4;
else
rach_frames_expired = 1;