ipaccess-config: Initialize RSL ts driver fd to proper value
ipaccess-config sets up the entire line in a fake way. That requires also setting the fd of each TS used to -1 in order to avoid library code interacting with it during tear down if an error occurs. Change-Id: I19eb23a46f89b96dd8d63742ca2078ecd5c9ab6b
This commit is contained in:
parent
b87b676fb2
commit
ea2367f4ab
|
@ -148,6 +148,7 @@ static int ia_config_connect(struct gsm_bts *bts, struct sockaddr_in *sin)
|
|||
/* create E1 timeslots for signalling and TRAU frames */
|
||||
e1inp_ts_config_sign(sign_ts, line);
|
||||
e1inp_ts_config_sign(rsl_ts, line);
|
||||
rsl_ts->driver.ipaccess.fd.fd = -1;
|
||||
|
||||
/* create signalling links for TRX0 */
|
||||
oml_link = e1inp_sign_link_create(sign_ts, E1INP_SIGN_OML,
|
||||
|
|
Loading…
Reference in New Issue