diff options
author | Stefan Sperling <ssperling@sysmocom.de> | 2018-02-06 17:49:38 +0100 |
---|---|---|
committer | Stefan Sperling <ssperling@sysmocom.de> | 2018-02-06 17:49:38 +0100 |
commit | 3d3bd3bb43b807aee5e0fb8ce1f5805085a9ffb8 (patch) | |
tree | eeb651c59a4da0d1fed70aa977e23e5d3b87621d | |
parent | 9623ed4a24f0252c93cb1584d331dd0712dbd1bd (diff) |
only set lower 2 bits of t2
Change-Id: I96d85ab8964db630dffc303d7d71d2d69306854d
-rw-r--r-- | src/libcommon/acc_ramp.c | 2 |
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); } |