osaf/services/saf/amf/amfd/avd_sgproc.cc |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)


diff --git a/osaf/services/saf/amf/amfd/avd_sgproc.cc 
b/osaf/services/saf/amf/amfd/avd_sgproc.cc
--- a/osaf/services/saf/amf/amfd/avd_sgproc.cc
+++ b/osaf/services/saf/amf/amfd/avd_sgproc.cc
@@ -1408,7 +1408,10 @@ uint32_t avd_sg_app_sg_admin_func(AVD_CL
                for (i_su = sg->list_of_su; i_su != NULL; i_su = 
i_su->sg_list_su_next) {
                        m_AVD_GET_SU_NODE_PTR(cb, i_su, i_su_node_ptr);
 
-                       if (m_AVD_APP_SU_IS_INSVC(i_su, i_su_node_ptr)) {
+                       if (m_AVD_APP_SU_IS_INSVC(i_su, i_su_node_ptr) &&
+                                       ((i_su->saAmfSUPreInstantiable) ?
+                                        (i_su->saAmfSUPresenceState == 
+                                         SA_AMF_PRESENCE_INSTANTIATED):true)) {
                                avd_su_readiness_state_set(i_su, 
SA_AMF_READINESS_IN_SERVICE);
                        }
                }

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to