From 43d8950682d415be682995b8bf95b297921da779 Mon Sep 17 00:00:00 2001 From: zhangyanjiao Date: Wed, 29 Apr 2020 17:27:00 +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 --- 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 15dd2c113..b71989cd4 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 8510f0017..f5a7514a1 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit 8510f00170b80cdfeefb3489feb54a83a0d67bea +Subproject commit f5a7514a1c37a542728b1c5608578d0b0f868ec5