Fixed return value of pcu_l1if_open() when connection to BTS fails
If connection fails, a retry timer is used to try again. This is not an error.
This commit is contained in:
parent
0e4030982f
commit
88a214cc45
|
@ -649,7 +649,7 @@ int pcu_l1if_open(void)
|
|||
bfd->fd = -1;
|
||||
state->timer.cb = pcu_sock_timeout;
|
||||
osmo_timer_schedule(&state->timer, 5, 0);
|
||||
return -1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
bfd->when = BSC_FD_READ;
|
||||
|
|
Loading…
Reference in New Issue