From 00788963472fa90593d24ad756775fc7d1f7c9b9 Mon Sep 17 00:00:00 2001 From: liu zhifu Date: Wed, 9 Oct 2019 21:15:09 +0800 Subject: [PATCH] esp_wifi: fix some WiFi bugs Fix following WiFi bugs: 1. Fix the bug for API_CHECK_ENABLED 2. Fix the bug that wpa2 enterprise sta can connect open AP 3. Fix TKIP/CCMP PN replay attack detection bug 4. Increase buffer number type from uint8_t to uint16_t to support more than 255 buffers 5. Avoid recalculating PMK if esp_wifi_set_config() is not called 6. Fix 5.5M signal test bug --- components/esp_wifi/include/esp_wifi.h | 2 +- components/esp_wifi/lib_esp32 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/esp_wifi/include/esp_wifi.h b/components/esp_wifi/include/esp_wifi.h index dcbfe6ae99..3cd02b58be 100644 --- a/components/esp_wifi/include/esp_wifi.h +++ b/components/esp_wifi/include/esp_wifi.h @@ -543,7 +543,7 @@ esp_err_t esp_wifi_get_bandwidth(wifi_interface_t ifx, wifi_bandwidth_t *bw); * @brief Set primary/secondary channel of ESP32 * * @attention 1. This is a special API for sniffer - * @attention 2. This API should be called after esp_wifi_start() or esp_wifi_set_promiscuous() + * @attention 2. This API should be called after esp_wifi_start() and esp_wifi_set_promiscuous() * * @param primary for HT20, primary is the channel number, for HT40, primary is the primary channel * @param second for HT20, second is ignored, for HT40, second is the second channel diff --git a/components/esp_wifi/lib_esp32 b/components/esp_wifi/lib_esp32 index e386debd1f..da98b13f1d 160000 --- a/components/esp_wifi/lib_esp32 +++ b/components/esp_wifi/lib_esp32 @@ -1 +1 @@ -Subproject commit e386debd1f288c59c4d07f41f4f3cac395388d51 +Subproject commit da98b13f1dd34442f56cf5b26e4e778132fd9a45