Merge branch 'test/wifi_connect_with_full_scan_in_examples_v4.1' into 'release/v4.1'

example: set example wifi scan method to all channel (v4.1)

See merge request espressif/esp-idf!13914
This commit is contained in:
Jiang Jiang Jian 2021-06-24 06:14:26 +00:00
commit da8f10bbac

View File

@ -160,6 +160,7 @@ static void start(void)
.sta = {
.ssid = CONFIG_EXAMPLE_WIFI_SSID,
.password = CONFIG_EXAMPLE_WIFI_PASSWORD,
.scan_method = WIFI_ALL_CHANNEL_SCAN,
},
};
ESP_LOGI(TAG, "Connecting to %s...", wifi_config.sta.ssid);