summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2012-11-11 09:45:40 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2012-11-11 09:45:40 +0100
commite2a7c93da3a00551a9e6f05e7f8f87d6f34c32ae (patch)
tree52ba0238dfb5d75292855cc61ef9f0ab64282035
parent7ae3ac8b4222a547160cc297f4b3a093d5faa6de (diff)
sms: Remove the commented out code that was the default in OpenBSC
This code got copied from OpenBSC and we used the network specific and private numbering plan. Remove it as it can be easily set.
-rw-r--r--src/gsm/gsm0411_utils.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gsm/gsm0411_utils.c b/src/gsm/gsm0411_utils.c
index ebde8fc..fe69bf4 100644
--- a/src/gsm/gsm0411_utils.c
+++ b/src/gsm/gsm0411_utils.c
@@ -273,7 +273,6 @@ int gsm340_gen_oa(uint8_t *oa, unsigned int oa_len, uint8_t type,
if (strlen(number) > 20)
number = "";
-// oa[1] = 0xb9; /* networks-specific number, private numbering plan */
oa[1] = 0x80 | (type << 4) | plan;
len_in_bytes = gsm48_encode_bcd_number(oa, oa_len, 1, number);