aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-01-10 23:40:12 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-03-03 16:19:08 +0100
commit477a054c2c1d345b909afd60be9ac4ca08b66163 (patch)
tree4b264a4a21f04042d8c21a12cf27b451949446a4
parent52ddce43785c835c5c3ca150f597d1f5c4d07e2c (diff)
sai arg
-rw-r--r--openbsc/include/openbsc/iu.h2
-rw-r--r--openbsc/src/gprs/iu.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/include/openbsc/iu.h b/openbsc/include/openbsc/iu.h
index 5a223624f..fc1bde990 100644
--- a/openbsc/include/openbsc/iu.h
+++ b/openbsc/include/openbsc/iu.h
@@ -5,6 +5,6 @@ struct gprs_ra_id;
typedef int (* iu_recv_cb_t )(struct msgb *msg, struct gprs_ra_id *ra_id,
/* TODO is ra_id only used for gprs? ^ */
- uint16_t sai);
+ uint16_t *sai);
int iu_tx(struct msgb *msg, uint8_t sapi);
diff --git a/openbsc/src/gprs/iu.c b/openbsc/src/gprs/iu.c
index 8ad056383..4e4857b97 100644
--- a/openbsc/src/gprs/iu.c
+++ b/openbsc/src/gprs/iu.c
@@ -146,7 +146,7 @@ static int ranap_handle_co_initial_ue(void *ctx, RANAP_InitialUE_MessageIEs_t *i
/* Feed into the MM layer */
msg->dst = ctx;
- global_iu_recv_cb(msg, &ra_id, sai);
+ global_iu_recv_cb(msg, &ra_id, &sai);
return 0;
}