aboutsummaryrefslogtreecommitdiffstats
path: root/src/libbsc
diff options
context:
space:
mode:
authorStefan Sperling <ssperling@sysmocom.de>2018-02-08 17:05:52 +0100
committerStefan Sperling <ssperling@sysmocom.de>2018-02-08 17:05:52 +0100
commitd77b8969f200fa6bd7d8c3c05bfe474e9f11db70 (patch)
treede56c9cc1dddec0e76330cafd416ff6c78edc78d /src/libbsc
parent1bc1a0fa40dec7b1aae0f6d11ed24cc7e818620b (diff)
rename a helper function
Diffstat (limited to 'src/libbsc')
-rw-r--r--src/libbsc/acc_ramp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libbsc/acc_ramp.c b/src/libbsc/acc_ramp.c
index 20f7dcf50..9bd335de1 100644
--- a/src/libbsc/acc_ramp.c
+++ b/src/libbsc/acc_ramp.c
@@ -43,7 +43,7 @@ static void allow_acc(struct acc_ramp *acc_ramp, unsigned int acc)
acc_ramp->barred_t3 &= ~(1 << acc);
}
-static void barr_acc(struct acc_ramp *acc_ramp, unsigned int acc)
+static void barr_one_acc(struct acc_ramp *acc_ramp, unsigned int acc)
{
assert(acc >= 0 && acc <= 9);
LOGP(DRLL, LOGL_DEBUG, "(bts=%d) ACC RAMP: barring Access Control Class %u\n", acc_ramp->bts->nr, acc);
@@ -58,7 +58,7 @@ static void barr_all_allowed_accs(struct acc_ramp *acc_ramp)
unsigned int acc;
for (acc = 0; acc < 10; acc++) {
if (bts_allows_acc(acc_ramp->bts, acc))
- barr_acc(acc_ramp, acc);
+ barr_one_acc(acc_ramp, acc);
}
}