mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
esp_wifi: Update wifi lib
1. Fix FTM failures after repeated operations 2. Update Mexico channel refer to FCC 3. Mesh: fix the issue that layer2 node connect to lower-layer node when FIXED-ROOT root disappeared 4. Decouple softap and 8684 support
This commit is contained in:
parent
f490adf800
commit
d7599a53b8
@ -1 +1 @@
|
||||
Subproject commit 1053c13faecea52a57c8e1cee75fc8bae2e8756e
|
||||
Subproject commit 657dd399cff195341fd536d503ce99f0d46876a6
|
@ -317,7 +317,7 @@ static bool wifi_cmd_ap_set(const char* ssid, const char* pass)
|
||||
if (pass) {
|
||||
if (strlen(pass) != 0 && strlen(pass) < 8) {
|
||||
s_reconnect = true;
|
||||
ESP_LOGE(TAG_AP, "password less than 8");
|
||||
ESP_LOGE(TAG_AP, "password cannot be less than 8 characters long");
|
||||
return false;
|
||||
}
|
||||
strlcpy((char*) g_ap_config.ap.password, pass, MAX_PASSPHRASE_LEN);
|
||||
@ -341,8 +341,11 @@ static int wifi_cmd_ap(int argc, char** argv)
|
||||
return 1;
|
||||
}
|
||||
|
||||
wifi_cmd_ap_set(ap_args.ssid->sval[0], ap_args.password->sval[0]);
|
||||
ESP_LOGI(TAG_AP, "Starting SoftAP with FTM Responder support, SSID - %s, Password - %s", ap_args.ssid->sval[0], ap_args.password->sval[0]);
|
||||
if (true == wifi_cmd_ap_set(ap_args.ssid->sval[0], ap_args.password->sval[0]))
|
||||
ESP_LOGI(TAG_AP, "Starting SoftAP with FTM Responder support, SSID - %s, Password - %s", ap_args.ssid->sval[0], ap_args.password->sval[0]);
|
||||
else
|
||||
ESP_LOGE(TAG_AP, "Failed to start SoftAP!");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user