Merge branch 'bugfix/enable_pmf_in_iperf_test' into 'master'

iperf example: set PMF capable to connect to PMF required APs

Closes TCI-675

See merge request espressif/esp-idf!13853
This commit is contained in:
Jiang Jiang Jian 2021-06-10 12:21:08 +00:00
commit a3197a5b1e

View File

@ -148,6 +148,7 @@ static bool wifi_cmd_sta_join(const char* ssid, const char* pass)
int bits = xEventGroupWaitBits(wifi_event_group, CONNECTED_BIT, 0, 1, 0);
wifi_config_t wifi_config = { 0 };
wifi_config.sta.pmf_cfg.capable = true;
strlcpy((char*) wifi_config.sta.ssid, ssid, sizeof(wifi_config.sta.ssid));
if (pass) {