Change-Id: I51225c3f814ed6a651a06082a2504fb65289c58a
Signed-off-by: Parkhi <h_w.park@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/14403
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
{
OIC_LOG(INFO, ES_ENROLLEE_TAG, "ESSetState IN");
- if(esState < ES_STATE_INIT || esState > ES_STATE_FAILED_TO_REGISTER_TO_CLOUD)
+ if(esState < ES_STATE_INIT || esState > ES_STATE_EOF)
{
OIC_LOG_V(ERROR, ES_ENROLLEE_TAG, "Invalid ESEnrolleeState : %d", esState);
return ES_ERROR;