layer23 sysinfo: store chan_nr when decoding CBCH Channel Description

This commit is contained in:
Alex Badea 2010-11-21 22:45:22 +02:00 committed by Harald Welte
parent 641f40cecc
commit ec7349f28b
1 changed files with 1 additions and 0 deletions

View File

@ -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);