summaryrefslogtreecommitdiffstats
path: root/openbsc/src
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2009-07-19 17:51:36 +0200
committerHarald Welte <laforge@gnumonks.org>2009-07-19 17:51:36 +0200
commit7543eb72d0ba91d17fe7c9a6cd7d630beab1b19f (patch)
tree88fd04381e987d31da0625f7f65b8579a450cc42 /openbsc/src
parent565547171caa01703580f6c7b93214f329b97017 (diff)
fix copy+paste mistake in ecnoding short net name in mm info
Diffstat (limited to 'openbsc/src')
-rw-r--r--openbsc/src/gsm_04_08.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/gsm_04_08.c b/openbsc/src/gsm_04_08.c
index 9e0427e05..9fb53a723 100644
--- a/openbsc/src/gsm_04_08.c
+++ b/openbsc/src/gsm_04_08.c
@@ -1349,7 +1349,7 @@ int gsm48_tx_mm_info(struct gsm_lchan *lchan)
name_len = strlen(net->name_short);
/* 10.5.3.5a */
ptr8 = (u_int8_t *) msgb_put(msg, 3);
- ptr8[0] = GSM48_IE_NAME_LONG;
+ ptr8[0] = GSM48_IE_NAME_SHORT;
ptr8[1] = name_len*2 + 1;
ptr8[2] = 0x90; /* UCS2, no spare bits, no CI */