Fixed segfault - Initialize SoE request properly.
authorFlorian Pose <fp@igh-essen.com>
Sun, 07 Mar 2010 23:08:07 +0100
changeset 1849 0a660edc7180
parent 1848 1fe21e740efd
child 1850 fa112b8a371b
Fixed segfault - Initialize SoE request properly.
master/fsm_slave_config.c
--- a/master/fsm_slave_config.c	Sun Mar 07 21:20:40 2010 +0100
+++ b/master/fsm_slave_config.c	Sun Mar 07 23:08:07 2010 +0100
@@ -99,6 +99,7 @@
         )
 {
     ec_sdo_request_init(&fsm->request_copy);
+    ec_soe_request_init(&fsm->soe_request_copy);
 
     fsm->datagram = datagram;
     fsm->fsm_change = fsm_change;