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
This commit is contained in:
Neels Hofmeyr 2018-01-15 23:34:37 +01:00
parent 02296af07d
commit 8a2b6e2b6f
1 changed files with 4 additions and 0 deletions

View File

@ -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;
}