osmux: Move setting OSMUX_STATE_DISABLED to initializer function

Change-Id: I7c184b17075fc3e71f1f66775e16b56a5ae91b62
diff --git a/src/libosmo-mgcp/mgcp_conn.c b/src/libosmo-mgcp/mgcp_conn.c
index 08c9301..c74069d 100644
--- a/src/libosmo-mgcp/mgcp_conn.c
+++ b/src/libosmo-mgcp/mgcp_conn.c
@@ -95,6 +95,9 @@
 	static atomic_uint rate_ctr_index = 0;
 
 	conn_rtp->type = MGCP_RTP_DEFAULT;
+
+	/* Osmux specific defaults, only used if conn is later on Osmux-enabled: */
+	conn_rtp->osmux.state = OSMUX_STATE_DISABLED;
 	conn_rtp->osmux.local_cid_allocated = false;
 	conn_rtp->osmux.local_cid = 0;
 	conn_rtp->osmux.remote_cid_present = false;