aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/gsm_04_11.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2009-06-10 12:08:54 +0800
committerHarald Welte <laforge@gnumonks.org>2009-06-10 12:08:54 +0800
commit0c3893078ed3f38f76b0236627bb38a8bd906af6 (patch)
tree062bbaa8676dced936b4468067272f681fb84b81 /openbsc/src/gsm_04_11.c
parentbe1431076d9397f009dc2596bd2320b346dcd163 (diff)
introduce encoding/decoding functions for 04.08 CC
this patch implements the encoding/decoding of 04.08 call control information elements. It adds new functions to be used for the application interface patch, and is basis for the application patch (currently patch 36). Please ignore warnings about unused static functions for now. (Andreas Eversberg)
Diffstat (limited to 'openbsc/src/gsm_04_11.c')
-rw-r--r--openbsc/src/gsm_04_11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/gsm_04_11.c b/openbsc/src/gsm_04_11.c
index c29953806..a6f3e7aac 100644
--- a/openbsc/src/gsm_04_11.c
+++ b/openbsc/src/gsm_04_11.c
@@ -190,7 +190,7 @@ static int gsm340_rx_tpdu(struct msgb *msg)
/* mangle first byte to reflect length in bytes, not digits */
address_lv[0] = da_len_bytes;
/* convert to real number */
- decode_bcd_number(sms->dest_addr, sizeof(sms->dest_addr), address_lv);
+ decode_bcd_number(sms->dest_addr, sizeof(sms->dest_addr), address_lv, 1);
smsp += da_len_bytes;