eapol/eapol_framework/eapol_symbian/eap_server/src/EapCoreIf.cpp
changeset 49 43351a4f2da3
parent 26 9abfd4f00d37
equal deleted inserted replaced
47:712b4ffd76bb 49:43351a4f2da3
    14 * Description:  EAP and WLAN authentication protocols.
    14 * Description:  EAP and WLAN authentication protocols.
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 /*
    18 /*
    19 * %version: 17 %
    19 * %version: 18 %
    20 */
    20 */
    21 
    21 
    22 
    22 
    23 #include "eap_am_tools.h"
    23 #include "eap_am_tools.h"
    24 #include "eap_am_export.h"
    24 #include "eap_am_export.h"
    98 //--------------------------------------------------
    98 //--------------------------------------------------
    99 
    99 
   100 eap_status_e CEapCoreIf::configure(
   100 eap_status_e CEapCoreIf::configure(
   101 	const eap_variable_data_c * const client_configuration)
   101 	const eap_variable_data_c * const client_configuration)
   102 {
   102 {
   103 	return m_server_if->configure(client_configuration);
   103 	return EAP_STATUS_RETURN(m_am_tools, m_server_if->configure(client_configuration));
   104 }
   104 }
   105 
   105 
   106 // ----------------------------------------------------------------
   106 // ----------------------------------------------------------------
   107 
   107 
   108 eap_status_e CEapCoreIf::send_data(const void * const data, const u32_t length)
   108 eap_status_e CEapCoreIf::send_data(const void * const data, const u32_t length)
   109 {
   109 {
   110 	return m_client_if->SendData(data, length, EEapCoreSendData);
   110 	return EAP_STATUS_RETURN(m_am_tools, m_client_if->SendData(data, length, EEapCoreSendData));
   111 }
   111 }
   112 
   112 
   113 // ----------------------------------------------------------------
   113 // ----------------------------------------------------------------
   114 
   114 
   115 eap_status_e CEapCoreIf::process_data(const void * const data, const u32_t length)
   115 eap_status_e CEapCoreIf::process_data(const void * const data, const u32_t length)
   116 {
   116 {
   117 	return m_server_if->process_data(data, length);
   117 	return EAP_STATUS_RETURN(m_am_tools, m_server_if->process_data(data, length));
   118 }
   118 }
   119 
   119 
   120 //--------------------------------------------------
   120 //--------------------------------------------------
   121 
   121 
   122 //
   122 //