From 3d3bd3bb43b807aee5e0fb8ce1f5805085a9ffb8 Mon Sep 17 00:00:00 2001 From: Stefan Sperling Date: Tue, 6 Feb 2018 17:49:38 +0100 Subject: only set lower 2 bits of t2 Change-Id: I96d85ab8964db630dffc303d7d71d2d69306854d --- src/libcommon/acc_ramp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v1.2.3