summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/src/common/sysinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/host/layer23/src/common/sysinfo.c')
-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);