mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-10-23 08:12:01 +00:00
tweak ..rcvmsg_iu()'s sai arg.
It was a uint16_t*, but is passed as a uint16_t, and never used anyway, yet.
This commit is contained in:
@@ -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);
|
||||
|
@@ -4,6 +4,7 @@ struct msgb;
|
||||
struct gprs_ra_id;
|
||||
|
||||
typedef int (* iu_recv_cb_t )(struct msgb *msg, struct gprs_ra_id *ra_id,
|
||||
uint16_t *sai);
|
||||
/* TODO is ra_id only used for gprs? ^ */
|
||||
uint16_t sai);
|
||||
|
||||
int iu_tx(struct msgb *msg, uint8_t sapi);
|
||||
|
@@ -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 */
|
||||
|
Reference in New Issue
Block a user