diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-01-11 00:00:24 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-03-03 16:19:08 +0100 |
commit | b3b8ccfa54464a995a0ebb4c475cbc03490f06dd (patch) | |
tree | 583f380d2aabed5a373ae49ac7419889945e5f18 | |
parent | 231aa60ce4b09d70cfbda8b4d153374e37498ce0 (diff) |
sai arg back to pointer
-rw-r--r-- | openbsc/include/openbsc/gprs_gmm.h | 2 | ||||
-rw-r--r-- | openbsc/src/gprs/gprs_gmm.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/openbsc/include/openbsc/gprs_gmm.h b/openbsc/include/openbsc/gprs_gmm.h index 96edbf9c3..b4df65092 100644 --- a/openbsc/include/openbsc/gprs_gmm.h +++ b/openbsc/include/openbsc/gprs_gmm.h @@ -12,7 +12,7 @@ int gsm48_tx_gsm_deact_pdp_acc(struct sgsn_pdp_ctx *pdp); int gsm0408_gprs_rcvmsg_gb(struct msgb *msg, struct gprs_llc_llme *llme); int gsm0408_gprs_rcvmsg_iu(struct msgb *msg, struct gprs_ra_id *ra_id, - uint16_t sai); + uint16_t *sai); int gsm0408_gprs_force_reattach(struct sgsn_mm_ctx *mmctx); int gsm0408_gprs_force_reattach_oldmsg(struct msgb *msg); void gsm0408_gprs_access_granted(struct sgsn_mm_ctx *mmctx); diff --git a/openbsc/src/gprs/gprs_gmm.c b/openbsc/src/gprs/gprs_gmm.c index d748d0b68..56d892f3a 100644 --- a/openbsc/src/gprs/gprs_gmm.c +++ b/openbsc/src/gprs/gprs_gmm.c @@ -2157,7 +2157,7 @@ int gsm0408_gprs_force_reattach(struct sgsn_mm_ctx *mmctx) /* Main entry point for incoming 04.08 GPRS messages from Iu */ int gsm0408_gprs_rcvmsg_iu(struct msgb *msg, struct gprs_ra_id *ra_id, - uint16_t sai) + uint16_t *sai) { struct gsm48_hdr *gh = (struct gsm48_hdr *) msgb_gmmh(msg); uint8_t pdisc = gh->proto_discr & 0x0f; @@ -2172,7 +2172,7 @@ int gsm0408_gprs_rcvmsg_iu(struct msgb *msg, struct gprs_ra_id *ra_id, if (ra_id) memcpy(&mmctx->ra, ra_id, sizeof(mmctx->ra)); //if (sai) - //mmctx->iu.sai = sai; + //mmctx->iu.sai = *sai; } /* MMCTX can be NULL */ |