laforge has uploaded this change for review.

View Change

Set persistent->ctx pointer on HNB REGISTER REQ

The previous commit was missing the assignment of hnb_persistent->ctx
during successful HNB REGISTER REQ.

Related: SYS#6773
Fixes: Change-Id Ife89a7a206836bd89334d19d3cf8c92969dd74de
Change-Id: I18fe0e5aa968a1095c72e6bf32d08b031b342ac6
---
M src/osmo-hnbgw/hnbgw_hnbap.c
1 file changed, 15 insertions(+), 0 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-hnbgw refs/changes/49/36249/1
diff --git a/src/osmo-hnbgw/hnbgw_hnbap.c b/src/osmo-hnbgw/hnbgw_hnbap.c
index f9ad478..0648ebc 100644
--- a/src/osmo-hnbgw/hnbgw_hnbap.c
+++ b/src/osmo-hnbgw/hnbgw_hnbap.c
@@ -441,6 +441,7 @@
return hnbgw_tx_hnb_register_rej(ctx);
}
ctx->persistent = hnbp;
+ hnbp->ctx = ctx;


llist_for_each_entry_safe(hnb, tmp, &g_hnbgw->hnb_list, list) {

To view, visit change 36249. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: osmo-hnbgw
Gerrit-Branch: master
Gerrit-Change-Id: I18fe0e5aa968a1095c72e6bf32d08b031b342ac6
Gerrit-Change-Number: 36249
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge@osmocom.org>
Gerrit-MessageType: newchange