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 // |