diff options
author | Zoran Ancevski <zoran.ancevski@seavus.com> | 2011-10-13 10:55:01 +0100 |
---|---|---|
committer | Viktor Mladenovski <viktor.mladenovski@seavus.com> | 2011-10-28 18:55:23 +0200 |
commit | 0ee6a4fffd68ec125fc7e7e0854aa10d8c09efc0 (patch) | |
tree | db3b0b73fec596c541423ee5796638a448e7fcfa /lcmodule/source/cnh1605204_ldr_transport_layer/source/r15_transport_layer.c | |
parent | 0ddb310bb30fc3445b9aa2be8cfb615cdadfdb78 (diff) |
Revert "Official R1U/R1S LCM/LCD Release"
This reverts commit d4baa448d384be488b2b2746519f02ff037a205e.
ST-Ericsson ID: 365326
ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-10204
Change-Id: I372f164a742d031976ae9aed50a509f130a101cd
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/33844
Reviewed-by: QATOOLS
Reviewed-by: QABUILD
Reviewed-by: Viktor MLADENOVSKI <viktor.mladenovski@stericsson.com>
Tested-by: Cvetko MLADENOVSKI <cvetko.mladenovski@seavus.com>
Reviewed-by: Vlatko PISTOLOV <vlatko.pistolov@seavus.com>
Tested-by: Vlatko PISTOLOV <vlatko.pistolov@seavus.com>
Diffstat (limited to 'lcmodule/source/cnh1605204_ldr_transport_layer/source/r15_transport_layer.c')
-rw-r--r-- | lcmodule/source/cnh1605204_ldr_transport_layer/source/r15_transport_layer.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/lcmodule/source/cnh1605204_ldr_transport_layer/source/r15_transport_layer.c b/lcmodule/source/cnh1605204_ldr_transport_layer/source/r15_transport_layer.c index 925d722..0e775ec 100644 --- a/lcmodule/source/cnh1605204_ldr_transport_layer/source/r15_transport_layer.c +++ b/lcmodule/source/cnh1605204_ldr_transport_layer/source/r15_transport_layer.c @@ -22,7 +22,6 @@ #include "t_time_utilities.h" #include "r_debug.h" #include "r_debug_macro.h" -#include "r_memory_utils.h" #include "r_r15_header.h" #include "r_command_protocol.h" #include "r_bulk_protocol.h" @@ -30,7 +29,6 @@ #include "r_r15_family.h" #include "r_communication_service.h" #include "t_security_algorithms.h" -#include "r_critical_section.h" /******************************************************************************* * Declaration of file local functions @@ -59,14 +57,14 @@ ErrorCode_e R15_Transport_Initialize(const Communication_t *const Communication_ { int VectorCounter; - /* Initialize the session counters for command protocol*/ + /* Iintialize the session counters for command protocol*/ R15_TRANSPORT(Communication_p)->SessionStateIn = 0; R15_TRANSPORT(Communication_p)->SessionStateOut = 0; - /* Initialize the session counter for bulk protocol*/ + /* Iintialize the session counter for bulk protocol*/ R15_TRANSPORT(Communication_p)->BulkSessionCounter = 0; - /* Initialize the default timeouts */ + /* initialize the default timeouts */ R15_TIMEOUTS(Communication_p)->TCACK = ACK_TIMEOUT_IN_MS; R15_TIMEOUTS(Communication_p)->TBCR = BULK_COMMAND_RECEIVING_TIMEOUT; R15_TIMEOUTS(Communication_p)->TBDR = BULK_DATA_RECEIVING_TIMEOUT; @@ -77,8 +75,6 @@ ErrorCode_e R15_Transport_Initialize(const Communication_t *const Communication_ memset(&(R15_TRANSPORT(Communication_p)->PreviousBulkVector), 0x00, sizeof(TL_BulkVectorList_t)); R15_TRANSPORT(Communication_p)->BulkHandle.BulkVector_p = NULL; - R15_TRANSPORT(Communication_p)->BulkHandle.BulkTransferCS = Do_CriticalSection_Create(); - R15_TRANSPORT(Communication_p)->BulkHandle.PendingBulkHeader_p = NULL; return E_SUCCESS; } @@ -92,8 +88,6 @@ ErrorCode_e R15_Transport_Initialize(const Communication_t *const Communication_ */ ErrorCode_e R15_Transport_Shutdown(const Communication_t *const Communication_p) { - BUFFER_FREE(R15_TRANSPORT(Communication_p)->BulkHandle.PendingBulkHeader_p); - Do_CriticalSection_Destroy(&(R15_TRANSPORT(Communication_p)->BulkHandle.BulkTransferCS)); return E_SUCCESS; } |