aboutsummaryrefslogtreecommitdiffstats
path: root/tests/alloc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/alloc')
-rw-r--r--tests/alloc/AllocTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/alloc/AllocTest.cpp b/tests/alloc/AllocTest.cpp
index 3b75763a..2117b11a 100644
--- a/tests/alloc/AllocTest.cpp
+++ b/tests/alloc/AllocTest.cpp
@@ -48,8 +48,8 @@ static void test_alloc_a(gprs_rlcmac_tbf_direction dir, const int count)
bts.alloc_algorithm = alloc_algorithm_a;
struct gprs_rlcmac_trx *trx = &bts.trx[0];
- trx->pdch[2].enable = 1;
- trx->pdch[3].enable = 1;
+ trx->pdch[2].enable();
+ trx->pdch[3].enable();
/**
* Currently alloc_a will only allocate from the first