aboutsummaryrefslogtreecommitdiffstats
path: root/tests/agch/agch_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/agch/agch_test.c')
-rw-r--r--tests/agch/agch_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/agch/agch_test.c b/tests/agch/agch_test.c
index 8ddc0f7d..86c5c203 100644
--- a/tests/agch/agch_test.c
+++ b/tests/agch/agch_test.c
@@ -159,7 +159,7 @@ static void test_agch_queue(void)
if (is_agch)
multiframes++;
- rc = bts_ccch_copy_msg(bts, out_buf, &g_time, is_agch);
+ rc = bts_ccch_copy_msg(bts, out_buf, &g_time, (is_agch) ? CCCH_MSGT_AGCH : CCCH_MSGT_PCH);
ima = (struct gsm48_imm_ass *)out_buf;
switch (ima->msg_type) {
case GSM48_MT_RR_IMM_ASS: