aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libcommon/acc_ramp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcommon/acc_ramp.c b/src/libcommon/acc_ramp.c
index 79509215d..17c9a8594 100644
--- a/src/libcommon/acc_ramp.c
+++ b/src/libcommon/acc_ramp.c
@@ -44,7 +44,7 @@ static void allow_one_acc(struct acc_ramp *acc_ramp, unsigned int acc)
LOGP(DRLL, LOGL_DEBUG, "(bts=%d) ACC RAMP: allowing Access Control Class %u\n", acc_ramp->bts->nr, acc);
assert(acc >= 0 && acc <= 9);
if (acc == 8 || acc == 9)
- acc_ramp->barred_t2 &= ~(1 << (acc - 8));
+ acc_ramp->barred_t2 &= (~(1 << (acc - 8)) & 0x03);
else
acc_ramp->barred_t3 &= ~(1 << acc);
}