neels has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmo-hnbgw/+/37880?usp=email )
Change subject: fixup: initialize g_hnbp_ctr_id = 0
......................................................................
fixup: initialize g_hnbp_ctr_id = 0
Make sure the first hnb.N is hnb.0.
fixup for 61e278a452bf4fd240e45f1fe8c094a4b3795317
Related: OS#6545
Change-Id: I353e026d6e3d2c3c8b13a0ca8bd4c09609632b84
---
M src/osmo-hnbgw/hnbgw.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-hnbgw refs/changes/80/37880/1
diff --git a/src/osmo-hnbgw/hnbgw.c b/src/osmo-hnbgw/hnbgw.c
index 90b8147..4d9ba5b 100644
--- a/src/osmo-hnbgw/hnbgw.c
+++ b/src/osmo-hnbgw/hnbgw.c
@@ -497,7 +497,7 @@
osmo_timer_schedule(&hnbp->disconnected_timeout, period_s, 0);
}
-static unsigned int g_hnbp_ctr_id;
+static unsigned int g_hnbp_ctr_id = 0;
struct hnb_persistent *hnb_persistent_alloc(const struct umts_cell_id *id)
{
--
To view, visit https://gerrit.osmocom.org/c/osmo-hnbgw/+/37880?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: osmo-hnbgw
Gerrit-Branch: master
Gerrit-Change-Id: I353e026d6e3d2c3c8b13a0ca8bd4c09609632b84
Gerrit-Change-Number: 37880
Gerrit-PatchSet: 1
Gerrit-Owner: neels <[email protected]>