osaf/services/saf/amf/amfd/sg.cc |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)


diff --git a/osaf/services/saf/amf/amfd/sg.cc b/osaf/services/saf/amf/amfd/sg.cc
--- a/osaf/services/saf/amf/amfd/sg.cc
+++ b/osaf/services/saf/amf/amfd/sg.cc
@@ -1643,6 +1643,8 @@ void avd_sg_admin_state_set(AVD_SG* sg, 
        SaAmfAdminStateT old_state = sg->saAmfSGAdminState;
        
        osafassert(state <= SA_AMF_ADMIN_SHUTTING_DOWN);
+       if (sg->saAmfSGAdminState == state)
+               return;
        TRACE_ENTER2("%s AdmState %s => %s", sg->name.c_str(),
                        avd_adm_state_name[old_state], 
avd_adm_state_name[state]);
        saflog(LOG_NOTICE, amfSvcUsrName, "%s AdmState %s => %s", 
sg->name.c_str(),

------------------------------------------------------------------------------
_______________________________________________
Opensaf-devel mailing list
Opensaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to