aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2012-07-07 08:21:01 +0200
committerAndreas Eversberg <jolly@eversberg.eu>2012-07-07 08:21:01 +0200
commit88a214cc4520a765c14f15b7379d83c538500b96 (patch)
treef7b396539e8faecc8a2bf5387d9809190516c853
parent0e4030982f59b75937103a5d0fdd9191ce3aa248 (diff)
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.
-rw-r--r--src/sysmo_l1_if.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sysmo_l1_if.cpp b/src/sysmo_l1_if.cpp
index 006cc2e..6cce554 100644
--- a/src/sysmo_l1_if.cpp
+++ b/src/sysmo_l1_if.cpp
@@ -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;