commit | cc2279b477d329acb8b3de4c85e4729bda7f8fa0 | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@gnumonks.org> | Wed Jun 02 23:17:05 2010 +0200 |
committer | Harald Welte <laforge@gnumonks.org> | Wed Jun 02 23:17:05 2010 +0200 |
tree | 4486bce274957f3072807e2c5812c7527962a4e5 | |
parent | e0aea3937fbf911b8594714479c2dc1d9ab3b8d4 [diff] |
[GPRS] SNDCP: Fix PCOMP and DCOMP header field length They're both just one 4bit nibble, not 1 byte each.
diff --git a/openbsc/src/gprs/gprs_sndcp.c b/openbsc/src/gprs/gprs_sndcp.c index 12ad1a6..0a94251 100644 --- a/openbsc/src/gprs/gprs_sndcp.c +++ b/openbsc/src/gprs/gprs_sndcp.c
@@ -43,8 +43,8 @@ uint8_t first:1; uint8_t spare:1; /* octet 2 */ - uint8_t pcomp; - uint8_t dcomp; + uint8_t pcomp:4; + uint8_t dcomp:4; } __attribute__((packed)); struct sndcp_udata_hdr {