aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2010-09-17 13:55:45 +0200
committerSylvain Munaut <tnt@246tNt.com>2010-09-17 13:56:31 +0200
commit77b6f6c53672f3d3c3335f17572bf4425122bd62 (patch)
tree601f3c3c87324d655a46f4df759724e529eb0684 /include
parent08aaded3b88dfe1da70a2923932c909e389d265e (diff)
protocol/gsm_04_08: Fix cr field position in gsm48_cip_mode_cmd
Thanks to Dieter for pointing this out. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'include')
-rw-r--r--include/osmocore/protocol/gsm_04_08.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/osmocore/protocol/gsm_04_08.h b/include/osmocore/protocol/gsm_04_08.h
index dbbb25f5..3ad7dfdc 100644
--- a/include/osmocore/protocol/gsm_04_08.h
+++ b/include/osmocore/protocol/gsm_04_08.h
@@ -626,8 +626,8 @@ struct gsm48_chan_rel {
struct gsm48_cip_mode_cmd {
uint8_t sc:1,
alg_id:3,
- spare:3,
- cr:1;
+ cr:1,
+ spare:3;
} __attribute__((packed));
/* Section 9.1.11 */