aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/gprs/oap.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/src/gprs/oap.c')
-rw-r--r--openbsc/src/gprs/oap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/gprs/oap.c b/openbsc/src/gprs/oap.c
index a9fee566b..c7c97774d 100644
--- a/openbsc/src/gprs/oap.c
+++ b/openbsc/src/gprs/oap.c
@@ -214,7 +214,7 @@ int oap_handle(struct oap_state *state, const struct msgb *msg_rx, struct msgb *
OSMO_ASSERT(data);
- rc = osmo_oap_decode(data, data_len, &oap_msg);
+ rc = osmo_oap_decode(&oap_msg, data, data_len);
if (rc < 0) {
LOGP(DGPRS, LOGL_ERROR,
"Decoding OAP message failed with error '%s' (%d)\n",