diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-05-31 22:31:04 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-05-31 22:31:04 +0200 |
commit | dce1255d8fa1788feeff9caf6f252492f59ef9ed (patch) | |
tree | 295cafcf60fe8532652305ad7398c4974580107a /openbsc/src/gprs/gprs_gmm.c | |
parent | 56a0145dd8955b00ef9cff608f5e03912401a0f7 (diff) |
[GPRS] GMM: Set LLC 'C/R' bit when sending IDENTITY REQUEST
Commands initiatied by the SGSN have to set C/R = 1
Diffstat (limited to 'openbsc/src/gprs/gprs_gmm.c')
-rw-r--r-- | openbsc/src/gprs/gprs_gmm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/gprs/gprs_gmm.c b/openbsc/src/gprs/gprs_gmm.c index 95473281f..5492b1650 100644 --- a/openbsc/src/gprs/gprs_gmm.c +++ b/openbsc/src/gprs/gprs_gmm.c @@ -334,7 +334,7 @@ static int gsm48_tx_gmm_id_req(struct sgsn_mm_ctx *mm, uint8_t id_type) struct msgb *msg = gsm48_msgb_alloc(); struct gsm48_hdr *gh; - DEBUGP(DMM, "-> GPRS IDENTITY REQUEST: mi_type=%02x\n", id_type); + DEBUGP(DMM, "<- GPRS IDENTITY REQUEST: mi_type=%02x\n", id_type); mmctx2msgid(msg, mm); @@ -344,7 +344,7 @@ static int gsm48_tx_gmm_id_req(struct sgsn_mm_ctx *mm, uint8_t id_type) /* 10.5.5.9 ID type 2 + identity type and 10.5.5.7 'force to standby' IE */ gh->data[0] = id_type & 0xf; - return gsm48_gmm_sendmsg(msg, 0, mm); + return gsm48_gmm_sendmsg(msg, 1, mm); } /* Check if we can already authorize a subscriber */ |