gprs_ns2: correct mtu value in the log line

The log line should describe what's reported towards the NS user
and not the NSE MTU itself

Related: OS#5192
Change-Id: I3f5445a1ba8c89c4023ff48be15a80569a128528
This commit is contained in:
Alexander Couzens 2021-07-02 17:36:17 +02:00
parent a6096ad367
commit 31cf166511
1 changed files with 2 additions and 2 deletions

View File

@ -562,11 +562,11 @@ void ns2_prim_status_ind(struct gprs_ns2_nse *nse,
nsp.u.status.nsvc = gprs_ns2_ll_str_buf(nsvc_str, sizeof(nsvc_str), nsvc);
LOGNSVC(nsvc, LOGL_NOTICE, "NS-STATUS.ind(bvci=%05u): cause=%s, transfer=%d, first=%d, mtu=%d\n",
nsp.bvci, gprs_ns2_aff_cause_prim_str(nsp.u.status.cause),
nsp.u.status.transfer, nsp.u.status.first, nse->mtu);
nsp.u.status.transfer, nsp.u.status.first, nsp.u.status.mtu);
} else {
LOGNSE(nse, LOGL_NOTICE, "NS-STATUS.ind(bvci=%05u): cause=%s, transfer=%d, first=%d, mtu=%d\n",
nsp.bvci, gprs_ns2_aff_cause_prim_str(nsp.u.status.cause),
nsp.u.status.transfer, nsp.u.status.first, nse->mtu);
nsp.u.status.transfer, nsp.u.status.first, nsp.u.status.mtu);
}
osmo_prim_init(&nsp.oph, SAP_NS, GPRS_NS2_PRIM_STATUS, PRIM_OP_INDICATION, NULL);