forked from espressif/esp-idf
Merge branch 'feat/ensure_not_all_of_the_security_versions_are_disabled' into 'master'
feat(wifi_prov): Ensure not all security versions are disabled at same time Closes IDF-12794 See merge request espressif/esp-idf!38029 Related https://github.com/espressif/esp-idf/issues/15549
This commit is contained in:
@@ -234,6 +234,9 @@ typedef enum wifi_prov_security {
|
|||||||
*/
|
*/
|
||||||
WIFI_PROV_SECURITY_2 = 2
|
WIFI_PROV_SECURITY_2 = 2
|
||||||
#endif
|
#endif
|
||||||
|
#if !CONFIG_ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_0 && !CONFIG_ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_1 && !CONFIG_ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_2
|
||||||
|
#error "All of the protocomm security versions are disabled. Make sure to enable at least one security version."
|
||||||
|
#endif
|
||||||
} wifi_prov_security_t;
|
} wifi_prov_security_t;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user