Explorar o código

wifi changes:

1. fix the bug for softAP update second channel wrong
2. change wifi_scan_time_t from union to struct
3. query country code wrong when policy change from manual to auto
4. fix the timeout issue of EAPOL four-way handshake
5. fix the crash issue when fetch peer after delete the cur_peer
zhangyanjiao %!s(int64=5) %!d(string=hai) anos
pai
achega
e430860df3

+ 1 - 1
components/esp_wifi/include/esp_wifi_types.h

@@ -115,7 +115,7 @@ typedef struct {
 } wifi_active_scan_time_t;
 
 /** @brief Aggregate of active & passive scan time per channel */
-typedef union {
+typedef struct {
     wifi_active_scan_time_t active;  /**< active scan time per channel, units: millisecond. */
     uint32_t passive;                /**< passive scan time per channel, units: millisecond, values above 1500ms may
                                           cause station to disconnect from AP and are not recommended. */

+ 1 - 1
components/esp_wifi/lib_esp32

@@ -1 +1 @@
-Subproject commit f95cd7c239868c09a023eb36cf7fde3940e0ca22
+Subproject commit 97348f88d4ab3fe5c4b153cc078d4799bac838a2