diff options
author | Harald Welte <laforge@gnumonks.org> | 2008-12-27 22:13:43 +0000 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2008-12-27 22:13:43 +0000 |
commit | 1a4121882e6d8eb4e81633138d739a5fe7028d54 (patch) | |
tree | ce15ccc99d0794ef794077140065b4141d620cf4 /src/gsm_04_08.c | |
parent | a6eb9f0213555fdbc37e56ab13c2e3cd276caa8d (diff) |
fix TMSI length in Mobile Identity IE of LOCATION UPDATE ACCEPT
Diffstat (limited to 'src/gsm_04_08.c')
-rw-r--r-- | src/gsm_04_08.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gsm_04_08.c b/src/gsm_04_08.c index 6a797b73d..c45e754f2 100644 --- a/src/gsm_04_08.c +++ b/src/gsm_04_08.c @@ -102,7 +102,7 @@ static void generate_lai(struct gsm48_loc_area_id *lai48, u_int16_t mcc, static void generate_mid_from_tmsi(u_int8_t *buf, u_int32_t tmsi) { buf[0] = GSM48_IE_MOBILE_ID; - buf[1] = MID_TMSI_LEN; + buf[1] = TMSI_LEN; buf[2] = 0xf0 | GSM_MI_TYPE_TMSI; *((u_int32_t *) &buf[3]) = htonl(tmsi); } |