diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-07-01 11:53:25 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-07-01 11:53:25 +0200 |
commit | 937a9ecfcd4efd4121abc31df6673f0636d4605a (patch) | |
tree | f6a8586260e1b3fcaccc546bb52ff42678657f1a /openbsc/src/gprs/sgsn_libgtp.c | |
parent | f78a3b2a2251ad19d6f0c8953173bc07aebbf6e3 (diff) |
[SGSN] Fix segfault when doing PS PAGING
The 'bssgp_paging_info' contains a pointer to the P-TMSI, and not
the P-TMSI itself. The reason is that it is an optional BSSGP IE.
Diffstat (limited to 'openbsc/src/gprs/sgsn_libgtp.c')
-rw-r--r-- | openbsc/src/gprs/sgsn_libgtp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/gprs/sgsn_libgtp.c b/openbsc/src/gprs/sgsn_libgtp.c index b9c6605d4..ed15bbec4 100644 --- a/openbsc/src/gprs/sgsn_libgtp.c +++ b/openbsc/src/gprs/sgsn_libgtp.c @@ -393,7 +393,7 @@ static int cb_data_ind(struct pdp_t *lib, void *packet, unsigned int len) pinfo.scope = BSSGP_PAGING_BVCI; pinfo.bvci = mm->bvci; pinfo.imsi = mm->imsi; - pinfo.ptmsi = mm->p_tmsi; + pinfo.ptmsi = &mm->p_tmsi; pinfo.drx_params = mm->drx_parms; pinfo.qos[0] = 0; // FIXME rc = gprs_bssgp_tx_paging(mm->nsei, 0, &pinfo); |