diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/handover/handover_test.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/handover/handover_test.c b/tests/handover/handover_test.c index 76e5fe132..7cb4086bb 100644 --- a/tests/handover/handover_test.c +++ b/tests/handover/handover_test.c @@ -224,6 +224,12 @@ void create_conn(struct gsm_lchan *lchan) struct gsm_network *net = lchan->ts->trx->bts->network; struct gsm_subscriber_connection *conn; struct mgcp_client *fake_mgcp_client = (void*)talloc_zero(net, int); + uint8_t *amr_conf; + + /* HACK: lchan_fsm.c requires some AMR codec rates to be enabled, + * lets pretend that all AMR codec rates are allowed */ + amr_conf = (uint8_t*) &fake_msc_data.amr_conf; + amr_conf[1] = 0xff; conn = bsc_subscr_con_allocate(net); |