Commit 9dae1cd3 authored by jaesick.shin's avatar jaesick.shin Committed by Uze Choi

[IoT-1597] bug fix about retransmission

When a consumer had control, they did not send a response
So I modified it to respond.

and remove duplicate defined about NS_QUERY_COSUMER_ID
In the commit below,
Committed without adding the file.
https://gerrit.iotivity.org/gerrit/#/c/14657/

Change-Id: Ie38aec8895422d9edab9d46bef7c6b17499f5bce
Signed-off-by: default avatarjaesick.shin <jaesick.shin@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/14709Reviewed-by: default avatarJungYong KIM <jyong2.kim@samsung.com>
Tested-by: default avatarjenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: default avatarChihyun Cho <ch79.cho@samsung.com>
Reviewed-by: default avatarUze Choi <uzchoi@samsung.com>
parent b19d0805
......@@ -27,8 +27,6 @@
#include <pthread.h>
#define NS_QUERY_CONSUMER_ID "consumerId"
pthread_mutex_t ** NSGetStackMutex()
{
static pthread_mutex_t * g_stackMutext = NULL;
......
......@@ -135,11 +135,6 @@ OCEntityHandlerResult NSEntityHandlerMessageCb(OCEntityHandlerFlag flag,
NSPushQueue(SUBSCRIPTION_SCHEDULER, TASK_RECV_SUBSCRIPTION,
NSCopyOCEntityHandlerRequest(entityHandlerRequest));
ehResult = OC_EH_OK;
if (NSGetPolicy() == NS_POLICY_CONSUMER)
{
return ehResult;
}
}
else if(ocObAction == OC_OBSERVE_DEREGISTER)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment