[IOT-1775] Fix observer response handle logic
authorbg.chun <bg.chun@samsung.com>
Thu, 2 Feb 2017 01:41:09 +0000 (10:41 +0900)
committerDan Mihai <Daniel.Mihai@microsoft.com>
Mon, 6 Feb 2017 21:34:35 +0000 (21:34 +0000)
commit5a1ecb9094a488997b5b4f4eac323c4426e1a0c2
tree9cf9985a542bcc38e6edd63d874289cda11884c6
parentad873e6bddcf6c15f91fce128d95915afb68c317
[IOT-1775] Fix observer response handle logic

Fix observer response handle logic to return OC_STACK_OK,
cases of observer request fail and observer cancel response
will handled with this logic.
[As is]
return OC_STACK_UNAUTHORIZED_REQ
[To be]
return OC_STACK_OK

Change-Id: I7e36775b71d6e4baa3f611b27c2e1cec46779b66
Signed-off-by: bg.chun <bg.chun@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/16999
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: jihwan seo <jihwan.seo@samsung.com>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
resource/csdk/stack/src/ocstack.c