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
This commit is contained in:
zhangyanjiao
2020-04-28 20:02:25 +08:00
parent aad3b0e3a2
commit b96652c257
2 changed files with 2 additions and 2 deletions

View File

@@ -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. */