prevent uart interrupts before having proper structs
diff --git a/sysmoOCTSIM/main.c b/sysmoOCTSIM/main.c
index ffdc270..3e80ad9 100644
--- a/sysmoOCTSIM/main.c
+++ b/sysmoOCTSIM/main.c
@@ -1172,6 +1172,8 @@
 	//FIXME osmo_emb has a pool?
 	msgb_set_talloc_ctx(g_tall_ctx);
 
+	//prevent spurious interrupts before our driver structs are ready
+	CRITICAL_SECTION_ENTER()
 	ccid_instance_init(&g_ci, &c_ops, &iso_fsm_slot_ops, &usb_fs_descs.ccid.class,
 			   data_rates, clock_freqs, "", 0);
 
@@ -1182,6 +1184,7 @@
 		llist_add_tail_at(&msg->list, &g_ccid_s.free_q);
 	}
 	submit_next_out();
+	CRITICAL_SECTION_LEAVE()
 
 //	command_print_prompt();
 	while (true) { // main loop