[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:
parent
e300d0021c
commit
5cc2bc37a7
|
@ -43,8 +43,8 @@ struct sndcp_common_hdr {
|
||||||
uint8_t first:1;
|
uint8_t first:1;
|
||||||
uint8_t spare:1;
|
uint8_t spare:1;
|
||||||
/* octet 2 */
|
/* octet 2 */
|
||||||
uint8_t pcomp;
|
uint8_t pcomp:4;
|
||||||
uint8_t dcomp;
|
uint8_t dcomp:4;
|
||||||
} __attribute__((packed));
|
} __attribute__((packed));
|
||||||
|
|
||||||
struct sndcp_udata_hdr {
|
struct sndcp_udata_hdr {
|
||||||
|
|
Loading…
Reference in New Issue