fix(esp_wifi): Allow connection with WPA mode in WPS

This commit is contained in:
Kapil Gupta
2024-09-20 14:16:01 +08:00
parent a7065d7020
commit 32d3b0b02c
3 changed files with 31 additions and 37 deletions

View File

@@ -84,7 +84,11 @@ struct wps_parse_attr {
u16 oob_dev_password_len;
/* attributes that can occur multiple times */
#ifdef ESP_SUPPLICANT
#define MAX_CRED_COUNT MAX_WPS_AP_CRED
#else
#define MAX_CRED_COUNT 10
#endif
#define MAX_REQ_DEV_TYPE_COUNT 10
unsigned int num_cred;