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:
Andreas Eversberg 2012-07-07 08:21:01 +02:00
parent 0e4030982f
commit 88a214cc45
1 changed files with 1 additions and 1 deletions

View File

@ -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;