From b96652c2577b0e18c791c514aa11d8136ad17e5a Mon Sep 17 00:00:00 2001 From: zhangyanjiao Date: Tue, 28 Apr 2020 20:02:25 +0800 Subject: [PATCH] wifi changes: 1. fix the bug for softAP update second channel wrong 2. query country code wrong when policy change from manual to auto 3. change wifi_scan_time_t from union to struct --- components/esp_wifi/include/esp_wifi_types.h | 2 +- components/esp_wifi/lib | 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 19d4e5dd2e..c5837373b3 100644 --- a/components/esp_wifi/include/esp_wifi_types.h +++ b/components/esp_wifi/include/esp_wifi_types.h @@ -114,7 +114,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 b/components/esp_wifi/lib index f16b635326..696c211b23 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit f16b635326cced7bf582b3abd2e800c3e0694b0a +Subproject commit 696c211b2321c4ac3d651fa524ba5326f59f47cf