bsc_api/NITB: If TCH/H channel is used, indicate it to bsc_api
If we don't do this, OsmoNITB will send an assignment command from a TCH/H to another TCH/H without any need.
This commit is contained in:
parent
a4d0e3cc6b
commit
72c0dbd753
|
@ -2878,7 +2878,8 @@ static int _gsm48_lchan_modify(struct gsm_trans *trans, void *arg)
|
|||
{
|
||||
struct gsm_mncc *mode = arg;
|
||||
|
||||
return gsm0808_assign_req(trans->conn, mode->lchan_mode, 1);
|
||||
return gsm0808_assign_req(trans->conn, mode->lchan_mode,
|
||||
trans->conn->lchan->type != GSM_LCHAN_TCH_H);
|
||||
}
|
||||
|
||||
static struct downstate {
|
||||
|
|
Loading…
Reference in New Issue