Mutex Unlock Corrected 76/211876/1
authorSamanway Dey <samanway.dey@samsung.com>
Thu, 11 Jul 2019 12:25:01 +0000 (17:55 +0530)
committerSudipto Bal <sudipto.bal@samsung.com>
Fri, 9 Aug 2019 12:50:03 +0000 (12:50 +0000)
commit5fdf4e760cd2f7ffb54962cfda79859923dd8bf6
treeb4a49758f03402ed83ac501a188eacab79e5ee06
parent030ddb9a13a5589a5066b35b1a5b7b1e09b0f99f
Mutex Unlock Corrected

 - For tizen BLE caleclient.c file, in function CALEAdapterScanResultCb(),
g_LEServerListMutex was placed in a wrong nested block, as a result even if
g_LEServerListMutex was not locked in some case, ittas being unlocked following
crash in IoTivity stack.
 - Hence, corrected it

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/538/commits/4e49610943156f45e6b0e7c2a0a9783ba5c2b94b
(cherry-picked from 4e49610943156f45e6b0e7c2a0a9783ba5c2b94b)

Change-Id: I9d76583346029f46ef7ad7ded4c850ca1feb4b06
Signed-off-by: Samanway Dey <samanway.dey@samsung.com>
Signed-off-by: Sudipto <sudipto.bal@samsung.com>
resource/csdk/connectivity/src/bt_le_adapter/tizen/caleclient.c