From 672c102c0f1f1ecccee3f7182c735da96a7c3c99 Mon Sep 17 00:00:00 2001 From: Jihun Ha Date: Mon, 20 Mar 2017 09:42:31 +0900 Subject: [PATCH] Remove a condition of device provisioning There would be a case where user wants to provision only device configuration without any wifi configuration. In this case, a condition to filter a case of empty ssid should be removed. Change-Id: Ib135d40d7f59f1ef0ee1bf7fe24a5a54d737aa96 Signed-off-by: Jihun Ha Reviewed-on: https://gerrit.iotivity.org/gerrit/17995 Reviewed-by: Uze Choi Tested-by: Uze Choi --- service/easy-setup/mediator/richsdk/src/RemoteEnrollee.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/service/easy-setup/mediator/richsdk/src/RemoteEnrollee.cpp b/service/easy-setup/mediator/richsdk/src/RemoteEnrollee.cpp index d5ed06b..ebf1a4f 100755 --- a/service/easy-setup/mediator/richsdk/src/RemoteEnrollee.cpp +++ b/service/easy-setup/mediator/richsdk/src/RemoteEnrollee.cpp @@ -478,11 +478,6 @@ namespace OIC throw ESBadRequestException ("Device not created"); } - if(deviceProp.getSsid().empty()) - { - throw ESBadRequestException ("Invalid Provisiong Data."); - } - DevicePropProvStatusCb devicePropProvStatusCb = std::bind( &RemoteEnrollee::onDevicePropProvisioningStatusHandlerCallback, std::placeholders::_1, -- 2.7.4