{
OIC_LOG_V(ERROR, TAG,
"bt_gatt_server_get_device_mtu failed with return [%s]", CALEGetErrorMsg(ret));
{
OIC_LOG_V(ERROR, TAG,
"bt_gatt_server_get_device_mtu failed with return [%s]", CALEGetErrorMsg(ret));
+ oc_mutex_unlock(g_LEClientListMutex);
return CA_DEFAULT_BLE_MTU_SIZE;
}
#else
return CA_DEFAULT_BLE_MTU_SIZE;
}
#else
{
OIC_LOG_V(ERROR, TAG,
"bt_device_get_att_mtu failed with return [%s]", CALEGetErrorMsg(ret));
{
OIC_LOG_V(ERROR, TAG,
"bt_device_get_att_mtu failed with return [%s]", CALEGetErrorMsg(ret));
+ oc_mutex_unlock(g_LEClientListMutex);
return CA_DEFAULT_BLE_MTU_SIZE;
}
#endif // BLE_TIZEN_40
return CA_DEFAULT_BLE_MTU_SIZE;
}
#endif // BLE_TIZEN_40