[GPRS] SNDCP: Fix PCOMP and DCOMP header field length

They're both just one 4bit nibble, not 1 byte each.
This commit is contained in:
Harald Welte 2010-06-02 23:17:05 +02:00
parent e300d0021c
commit 5cc2bc37a7
1 changed files with 2 additions and 2 deletions

View File

@ -43,8 +43,8 @@ struct sndcp_common_hdr {
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 {