aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/hnbgw_hnbap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hnbgw_hnbap.c b/src/hnbgw_hnbap.c
index 2d67219..a338738 100644
--- a/src/hnbgw_hnbap.c
+++ b/src/hnbgw_hnbap.c
@@ -99,7 +99,7 @@ static int hnbgw_tx_hnb_register_acc(struct hnb_context *ctx)
/* Single required response IE: RNC-ID */
HNBRegisterAcceptIEs_t accept = {
- .rnc_id = ctx->gw->config.rnc_id
+ .rnc_id = ctx->id.lac,
};
/* encode the Information Elements */