mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-10-23 08:12:01 +00:00
[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:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user