From 8a2b6e2b6f35c8a4a8f43afd3e8ce1a02d49a61a Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Mon, 15 Jan 2018 23:34:37 +0100 Subject: cosmetic: hnbgw: hnbap: log rx of unsuccessful outcome HNBAP isn't really that important to osmo-hnbgw operation, all we do is service the few requests so that the other side is happy and uses our Iuh. Nevertheless, could at least log if an UnsuccessfulOutcome was received. Change-Id: I3f309dc2d3436798e9e76bcc2ebd82403ea538a1 --- src/hnbgw_hnbap.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/hnbgw_hnbap.c b/src/hnbgw_hnbap.c index fab520d..2746c21 100644 --- a/src/hnbgw_hnbap.c +++ b/src/hnbgw_hnbap.c @@ -529,6 +529,10 @@ static int hnbgw_rx_successful_outcome_msg(struct hnb_context *hnb, SuccessfulOu static int hnbgw_rx_unsuccessful_outcome_msg(struct hnb_context *hnb, UnsuccessfulOutcome_t *msg) { /* We don't care much about HNBAP */ + LOGP(DHNBAP, LOGL_ERROR, "Received Unsuccessful Outcome, procedureCode %ld, criticality %ld," + " from '%s', cell mcc %u mnc %u lac %u rac %u sac %u cid %u\n", + msg->procedureCode, msg->criticality, hnb->identity_info, + hnb->id.mcc, hnb->id.mnc, hnb->id.lac, hnb->id.rac, hnb->id.sac, hnb->id.cid); return 0; } -- cgit v1.2.3