aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2020-09-23 18:22:31 +0200
committerAlexander Couzens <lynxis@fe80.eu>2020-09-25 01:06:36 +0200
commit89acdef892dbb18b85b342aa46cdd0c636a8f8f7 (patch)
tree4cb9128de30c7f448733cf453ae0459ea7de78b1
parent495b4a7cdb2fc900f9d17532e07150c9202511bb (diff)
ns2: remove bssgp specific msgb->cb parts
There shouldn't be any knowledge of the upper layer in the NS layer. The PCU / SGSN / gbproxy have to add the pointer when parsing the primitives. Change-Id: Id7edb8feb96436ba170383fc62d43ceb16955d53
-rw-r--r--src/gb/gprs_ns2_vc_fsm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gb/gprs_ns2_vc_fsm.c b/src/gb/gprs_ns2_vc_fsm.c
index 33a0328b..7b07a497 100644
--- a/src/gb/gprs_ns2_vc_fsm.c
+++ b/src/gb/gprs_ns2_vc_fsm.c
@@ -469,9 +469,9 @@ static void gprs_ns2_recv_unitdata(struct osmo_fsm_inst *fi,
/* TODO: nsh->data[0] -> C/R only valid in IP SNS */
bvci = nsh->data[1] << 8 | nsh->data[2];
- msgb_bssgph(msg) = &nsh->data[3];
- msgb_bvci(msg) = nsp.bvci = bvci;
- msgb_nsei(msg) = nsp.nsei = priv->nsvc->nse->nsei;
+ msg->l3h = &nsh->data[3];
+ nsp.bvci = bvci;
+ nsp.nsei = priv->nsvc->nse->nsei;
if (nsh->data[0])
nsp.u.unitdata.change = NS_ENDPOINT_REQUEST_CHANGE;