summaryrefslogtreecommitdiffstats
path: root/openbsc/src/gprs_ns.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/src/gprs_ns.c')
-rw-r--r--openbsc/src/gprs_ns.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/src/gprs_ns.c b/openbsc/src/gprs_ns.c
index 470ccb08..1558ca14 100644
--- a/openbsc/src/gprs_ns.c
+++ b/openbsc/src/gprs_ns.c
@@ -267,6 +267,7 @@ static int gprs_ns_rx_unitdata(struct gprs_nsvc *nsvc, struct msgb *msg)
/* spare octet in data[0] */
bvci = nsh->data[1] << 8 | nsh->data[2];
msgb_bssgph(msg) = &nsh->data[3];
+ msgb_bvci(msg) = bvci;
/* call upper layer (BSSGP) */
return nsvc->nsi->cb(GPRS_NS_EVT_UNIT_DATA, nsvc, msg, bvci);