feat(wpa_supplicant): revert eap struct to stay the same with lib

This commit is contained in:
Li Jingyi
2020-07-24 19:34:46 +08:00
parent be2e935c55
commit 031d49a2bb

View File

@@ -98,13 +98,6 @@ struct eap_method {
#define BLOB_NAME_LEN 3
#define BLOB_NUM 3
enum SIG_WPA2 {
SIG_WPA2_START = 0,
SIG_WPA2_RX,
SIG_WPA2_TASK_DEL,
SIG_WPA2_MAX,
};
/**
* struct eap_sm - EAP state machine data
*/
@@ -121,7 +114,8 @@ struct eap_sm {
u8 current_identifier;
u8 ownaddr[ETH_ALEN];
#ifdef USE_WPA2_TASK
u8 wpa2_sig_cnt[SIG_WPA2_MAX];
#define SIG_WPA2_NUM 2
u8 wpa2_sig_cnt[SIG_WPA2_NUM];
#endif
u8 finish_state;