From e430860df348d3ee36aacbe441d06b4999f98602 Mon Sep 17 00:00:00 2001 From: zhangyanjiao Date: Wed, 20 May 2020 18:13:07 +0800 Subject: [PATCH] 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 --- components/esp_wifi/include/esp_wifi_types.h | 2 +- components/esp_wifi/lib_esp32 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/esp_wifi/include/esp_wifi_types.h b/components/esp_wifi/include/esp_wifi_types.h index d194265f16..035a435a71 100644 --- a/components/esp_wifi/include/esp_wifi_types.h +++ b/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. */ diff --git a/components/esp_wifi/lib_esp32 b/components/esp_wifi/lib_esp32 index f95cd7c239..97348f88d4 160000 --- a/components/esp_wifi/lib_esp32 +++ b/components/esp_wifi/lib_esp32 @@ -1 +1 @@ -Subproject commit f95cd7c239868c09a023eb36cf7fde3940e0ca22 +Subproject commit 97348f88d4ab3fe5c4b153cc078d4799bac838a2