Change the type of authmode

This commit is contained in:
xiaxiaotian 2016-09-06 16:14:40 +08:00 committed by Wu Jian Gang
parent 035a48f102
commit 8622fda764

View File

@ -56,7 +56,7 @@ typedef struct {
uint8_t ssid_len; /**< SSID length of connected AP */ uint8_t ssid_len; /**< SSID length of connected AP */
uint8_t bssid[6]; /**< BSSID of connected AP*/ uint8_t bssid[6]; /**< BSSID of connected AP*/
uint8_t channel; /**< channel of connected AP*/ uint8_t channel; /**< channel of connected AP*/
uint8_t authmode; wifi_auth_mode_t authmode;
} system_event_sta_connected_t; } system_event_sta_connected_t;
typedef struct { typedef struct {
@ -67,8 +67,8 @@ typedef struct {
} system_event_sta_disconnected_t; } system_event_sta_disconnected_t;
typedef struct { typedef struct {
uint8_t old_mode; /**< the old auth mode of AP */ wifi_auth_mode_t old_mode; /**< the old auth mode of AP */
uint8_t new_mode; /**< the new auth mode of AP */ wifi_auth_mode_t new_mode; /**< the new auth mode of AP */
} system_event_sta_authmode_change_t; } system_event_sta_authmode_change_t;
typedef struct { typedef struct {