From 77b6f6c53672f3d3c3335f17572bf4425122bd62 Mon Sep 17 00:00:00 2001 From: Sylvain Munaut Date: Fri, 17 Sep 2010 13:55:45 +0200 Subject: 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 --- include/osmocore/protocol/gsm_04_08.h | 4 ++-- 1 file 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 */ -- cgit v1.2.3