CC: mncc_release_ind() must send MNCC_REL_CNF in state N19
If transaction is destroyed, but callref still exists, the mncc_release_ind function is called. If the upper layer already sent an MNCC_REL_REQ, the state N19 was entered. In this case it expects an MNCC_REL_CNF.
This commit is contained in:
parent
c5e0851054
commit
1590727b64
|
@ -1291,6 +1291,8 @@ int mncc_release_ind(struct gsm_network *net, struct gsm_trans *trans,
|
|||
memset(&rel, 0, sizeof(rel));
|
||||
rel.callref = callref;
|
||||
mncc_set_cause(&rel, location, value);
|
||||
if (trans && trans->cc.state == GSM_CSTATE_RELEASE_REQ)
|
||||
return mncc_recvmsg(net, trans, MNCC_REL_CNF, &rel);
|
||||
return mncc_recvmsg(net, trans, MNCC_REL_IND, &rel);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue