gsm48_cc_tx_setup: set trans->bearer_cap.transfer early
Prepare to use trans->bearer_cap.transfer in trans_cc_filter_run() to differentiate between speech and data (CSD). Related: OS#4394 Change-Id: Id0476a4882bcb27413d033f2de2c5288954f0b95
This commit is contained in:
parent
8a8ce714ff
commit
64f3930c72
|
@ -806,6 +806,8 @@ static int gsm48_cc_tx_setup(struct gsm_trans *trans, void *arg)
|
|||
trans_cc_filter_init(trans);
|
||||
trans_cc_filter_set_ran(trans, trans->msc_a->c.ran->type);
|
||||
trans_cc_filter_set_bss(trans, trans->msc_a);
|
||||
if (setup->fields & MNCC_F_BEARER_CAP)
|
||||
trans->bearer_cap.transfer = setup->bearer_cap.transfer;
|
||||
/* sdp.remote: if SDP is included in the MNCC, take that as definitive list of remote audio codecs. */
|
||||
rx_mncc_sdp(trans, setup->msg_type, setup->sdp);
|
||||
/* sdp.remote: if there is no SDP information or we failed to parse it, try using the Bearer Capability from
|
||||
|
|
Loading…
Reference in New Issue