equal
deleted
inserted
replaced
14 * Description: EAP and WLAN authentication protocols. |
14 * Description: EAP and WLAN authentication protocols. |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 /* |
18 /* |
19 * %version: % |
19 * %version: 7.1.3 % |
20 */ |
20 */ |
21 |
21 |
22 // This is enumeration of EAPOL source code. |
22 // This is enumeration of EAPOL source code. |
23 #if defined(USE_EAP_MINIMUM_RELEASE_TRACES) |
23 #if defined(USE_EAP_MINIMUM_RELEASE_TRACES) |
24 #undef EAP_FILE_NUMBER_ENUM |
24 #undef EAP_FILE_NUMBER_ENUM |
32 #include "eap_status.h" |
32 #include "eap_status.h" |
33 #include "wlan_eap_if_send_status.h" |
33 #include "wlan_eap_if_send_status.h" |
34 |
34 |
35 /** @file */ |
35 /** @file */ |
36 |
36 |
37 EAP_FUNC_EXPORT_INTERFACE wlan_eap_if_send_status_e wlan_eap_if_send_status_conversion_c::convert(const eap_status_e status) |
37 EAP_FUNC_EXPORT wlan_eap_if_send_status_e wlan_eap_if_send_status_conversion_c::convert(const eap_status_e status) |
38 { |
38 { |
39 switch(status) |
39 switch(status) |
40 { |
40 { |
41 case eap_status_ok: |
41 case eap_status_ok: |
42 return wlan_eap_if_send_status_ok; |
42 return wlan_eap_if_send_status_ok; |
55 default: |
55 default: |
56 return wlan_eap_if_send_status_process_general_error; |
56 return wlan_eap_if_send_status_process_general_error; |
57 } |
57 } |
58 } |
58 } |
59 |
59 |
60 EAP_FUNC_EXPORT_INTERFACE eap_status_e wlan_eap_if_send_status_conversion_c::convert(const wlan_eap_if_send_status_e status) |
60 EAP_FUNC_EXPORT eap_status_e wlan_eap_if_send_status_conversion_c::convert(const wlan_eap_if_send_status_e status) |
61 { |
61 { |
62 switch(status) |
62 switch(status) |
63 { |
63 { |
64 case wlan_eap_if_send_status_ok: |
64 case wlan_eap_if_send_status_ok: |
65 return eap_status_ok; |
65 return eap_status_ok; |