summaryrefslogtreecommitdiffstats
path: root/src/host/layer23
diff options
context:
space:
mode:
authorAndreas.Eversberg <jolly@eversberg.eu>2010-10-12 17:41:49 +0000
committerAndreas.Eversberg <jolly@eversberg.eu>2010-10-12 17:41:49 +0000
commitd95eddadb7a3072be1edf41177fc3e4d07838862 (patch)
tree1cff90d5217d7caa26f69150c9e47f892efdec39 /src/host/layer23
parentba3c45f1f30b68f081d4bbbf16880305d4cc3849 (diff)
[layer23] Fixed CAUSE information element
Coding standard must be 0x3 = GSM. Otherwise it may generate a protocol error at the network.
Diffstat (limited to 'src/host/layer23')
-rw-r--r--src/host/layer23/src/mobile/gsm48_cc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/host/layer23/src/mobile/gsm48_cc.c b/src/host/layer23/src/mobile/gsm48_cc.c
index a58f627a..12dc3be4 100644
--- a/src/host/layer23/src/mobile/gsm48_cc.c
+++ b/src/host/layer23/src/mobile/gsm48_cc.c
@@ -399,6 +399,7 @@ static int gsm48_rel_null_free(struct gsm_trans *trans)
void mncc_set_cause(struct gsm_mncc *data, int loc, int val)
{
data->fields |= MNCC_F_CAUSE;
+ data->cause.coding = 0x3;
data->cause.location = loc;
data->cause.value = val;
}