mobile: init TCH state earlier (on receipt of CC ALERTING)
The MS would usually start receiving traffic indications with dial tone or some music even before the call gets CONNECTed. Change-Id: Idd32c823639cc1f9999d77fcefe7e260e31a85ec Related: OS#4396
This commit is contained in:
parent
57eb13db22
commit
29824ebf3c
|
@ -181,7 +181,9 @@ static void tch_trans_free_cb(struct gsm_trans *trans)
|
|||
static void tch_trans_state_chg_cb(struct gsm_trans *trans)
|
||||
{
|
||||
switch (trans->cc.state) {
|
||||
case GSM_CSTATE_ACTIVE:
|
||||
case GSM_CSTATE_CALL_DELIVERED: /* MO call: Rx CC ALERTING */
|
||||
case GSM_CSTATE_CALL_RECEIVED: /* MT call: Tx CC ALERTING */
|
||||
case GSM_CSTATE_ACTIVE: /* MO/MT call: Rx CC CONNECT */
|
||||
tch_trans_cstate_active_cb(trans);
|
||||
break;
|
||||
case GSM_CSTATE_NULL:
|
||||
|
|
Loading…
Reference in New Issue