Skip to content

Commit 13515d7

Browse files
committed
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 #15549
2 parents 179a468 + 06beaef commit 13515d7

File tree

1 file changed

+3
-0
lines changed
  • components/wifi_provisioning/include/wifi_provisioning

1 file changed

+3
-0
lines changed

components/wifi_provisioning/include/wifi_provisioning/manager.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,9 @@ typedef enum wifi_prov_security {
234234
*/
235235
WIFI_PROV_SECURITY_2 = 2
236236
#endif
237+
#if !CONFIG_ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_0 && !CONFIG_ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_1 && !CONFIG_ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_2
238+
#error "All of the protocomm security versions are disabled. Make sure to enable at least one security version."
239+
#endif
237240
} wifi_prov_security_t;
238241

239242
/**

0 commit comments

Comments
 (0)