From 45b71a8dbb27ec786aa6bd904399808cb4fbc4d3 Mon Sep 17 00:00:00 2001 From: Stefan Sperling Date: Tue, 6 Feb 2018 17:53:39 +0100 Subject: fix previous Change-Id: Ia2f71fbfa9429634fe9dd63dbd50ca962a68e921 --- src/libcommon/acc_ramp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libcommon/acc_ramp.c') diff --git a/src/libcommon/acc_ramp.c b/src/libcommon/acc_ramp.c index 17c9a8594..79509215d 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)) & 0x03); + acc_ramp->barred_t2 &= ~(1 << (acc - 8)); else acc_ramp->barred_t3 &= ~(1 << acc); } -- cgit v1.2.3