[PATCH 1/2] layer23 sysinfo: store chan_nr when decoding CBCH Channel Description

Alex Badea vamposdecampos at gmail.com
Sun Nov 21 21:45:22 CET 2010


---
 src/host/layer23/src/common/sysinfo.c |    1 +
 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 13c8bc1..9aa65c7 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);
-- 
1.7.0.4




More information about the baseband-devel mailing list