Merge branch 'bugfix/ignore_pmf_capable_flag_v4.4' into 'release/v4.4'

Always connect Station in PMF mode if possible (Backport v4.4)

See merge request espressif/esp-idf!17036
This commit is contained in:
Jiang Jiang Jian
2022-03-07 16:24:44 +08:00
9 changed files with 28 additions and 51 deletions

View File

@@ -123,11 +123,6 @@ void wifi_init_sta(void)
* However these modes are deprecated and not advisable to be used. Incase your Access point
* doesn't support WPA2, these mode can be enabled by commenting below line */
.threshold.authmode = WIFI_AUTH_WPA2_PSK,
.pmf_cfg = {
.capable = true,
.required = false
},
},
};
ESP_ERROR_CHECK(esp_wifi_set_mode(WIFI_MODE_STA) );