Allow multiple bts objects in PCU
This patch doesn't really tests whether osmo-pcu can work on a multi-bts
environment, but it prepares the data structures to be able to do so at
any later point in time.
Change-Id: I6b10913f46c19d438c4e250a436a7446694b725a
diff --git a/tests/alloc/MslotTest.cpp b/tests/alloc/MslotTest.cpp
index b32a828..96b82a5 100644
--- a/tests/alloc/MslotTest.cpp
+++ b/tests/alloc/MslotTest.cpp
@@ -62,7 +62,7 @@
static inline void test_multislot_total_ascending(bool seq)
{
- struct gprs_rlcmac_bts *bts = bts_alloc(the_pcu);
+ struct gprs_rlcmac_bts *bts = bts_alloc(the_pcu, 0);
struct gprs_rlcmac_trx *trx;
int i;
@@ -81,7 +81,7 @@
static inline void test_multislot_total_descending(bool seq)
{
- struct gprs_rlcmac_bts *bts = bts_alloc(the_pcu);
+ struct gprs_rlcmac_bts *bts = bts_alloc(the_pcu, 0);
struct gprs_rlcmac_trx *trx;
int i;
@@ -100,7 +100,7 @@
static inline void test_multislot_middle(bool seq)
{
- struct gprs_rlcmac_bts *bts = bts_alloc(the_pcu);
+ struct gprs_rlcmac_bts *bts = bts_alloc(the_pcu, 0);
struct gprs_rlcmac_trx *trx;
printf("%s(): %s\n", __func__, seq ? "sequential" : "accumulative");
@@ -117,7 +117,7 @@
static inline void test_multislot_ends(bool seq)
{
- struct gprs_rlcmac_bts *bts = bts_alloc(the_pcu);
+ struct gprs_rlcmac_bts *bts = bts_alloc(the_pcu, 0);
struct gprs_rlcmac_trx *trx;
printf("%s(): %s\n", __func__, seq ? "sequential" : "accumulative");