mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-12-18 22:36:31 +08:00
feat(wpa_supplicant): revert eap struct to stay the same with lib
This commit is contained in:
@@ -98,13 +98,6 @@ struct eap_method {
|
|||||||
#define BLOB_NAME_LEN 3
|
#define BLOB_NAME_LEN 3
|
||||||
#define BLOB_NUM 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
|
* struct eap_sm - EAP state machine data
|
||||||
*/
|
*/
|
||||||
@@ -121,7 +114,8 @@ struct eap_sm {
|
|||||||
u8 current_identifier;
|
u8 current_identifier;
|
||||||
u8 ownaddr[ETH_ALEN];
|
u8 ownaddr[ETH_ALEN];
|
||||||
#ifdef USE_WPA2_TASK
|
#ifdef USE_WPA2_TASK
|
||||||
u8 wpa2_sig_cnt[SIG_WPA2_MAX];
|
#define SIG_WPA2_NUM 2
|
||||||
|
u8 wpa2_sig_cnt[SIG_WPA2_NUM];
|
||||||
#endif
|
#endif
|
||||||
u8 finish_state;
|
u8 finish_state;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user