neels submitted this change.
4 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
use cnlink state in cnpool decisions
Change-Id: I28490a4a27bcda8fd689db8b8652e451103e3a9d
---
M src/osmo-hnbgw/hnbgw_cn.c
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/src/osmo-hnbgw/hnbgw_cn.c b/src/osmo-hnbgw/hnbgw_cn.c
index 977766b..cf22ba4 100644
--- a/src/osmo-hnbgw/hnbgw_cn.c
+++ b/src/osmo-hnbgw/hnbgw_cn.c
@@ -656,7 +656,8 @@
return false;
if (!cnlink->hnbgw_sccp_user || !cnlink->hnbgw_sccp_user->sccp_user)
return false;
- // TODO indicator whether the CN link is actually active, akin to bssmap_reset_is_conn_ready()
+ if (!cnlink_is_conn_ready(cnlink))
+ return false;
return true;
}
To view, visit change 33176. To unsubscribe, or for help writing mail filters, visit settings.