protocol/gsm_04_08: Fix cr field position in gsm48_cip_mode_cmd
authorSylvain Munaut <tnt@246tNt.com>
Fri, 17 Sep 2010 11:55:45 +0000 (13:55 +0200)
committerSylvain Munaut <tnt@246tNt.com>
Fri, 17 Sep 2010 11:56:31 +0000 (13:56 +0200)
Thanks to Dieter for pointing this out.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
include/osmocore/protocol/gsm_04_08.h

index dbbb25f..3ad7dfd 100644 (file)
@@ -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 */