summaryrefslogtreecommitdiffstats
path: root/src/host
diff options
context:
space:
mode:
authorAlex Badea <vamposdecampos@gmail.com>2010-11-21 22:45:22 +0200
committerHarald Welte <laforge@gnumonks.org>2010-11-21 23:33:27 +0100
commitec7349f28bf07fdd3cf173ee735107d2b6abcb53 (patch)
tree52cf0aa55bea7567055237fccd30c82a862073b4 /src/host
parent641f40cecc87429f1b95e174ba2a602caa99af8e (diff)
layer23 sysinfo: store chan_nr when decoding CBCH Channel Description
Diffstat (limited to 'src/host')
-rw-r--r--src/host/layer23/src/common/sysinfo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/host/layer23/src/common/sysinfo.c b/src/host/layer23/src/common/sysinfo.c
index 13c8bc17..9aa65c7b 100644
--- a/src/host/layer23/src/common/sysinfo.c
+++ b/src/host/layer23/src/common/sysinfo.c
@@ -667,6 +667,7 @@ short_read:
return -EIO;
}
cd = (struct gsm48_chan_desc *) (data + 1);
+ s->chan_nr = cd->chan_nr;
if (cd->h0.h) {
s->h = 1;
gsm48_decode_chan_h1(cd, &s->tsc, &s->maio, &s->hsn);