mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-31 19:24:33 +02: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:
committed by
zhangyanjiao
parent
f490adf800
commit
d7599a53b8
Submodule components/esp_wifi/lib updated: 1053c13fae...657dd399cf
@@ -317,7 +317,7 @@ static bool wifi_cmd_ap_set(const char* ssid, const char* pass)
|
|||||||
if (pass) {
|
if (pass) {
|
||||||
if (strlen(pass) != 0 && strlen(pass) < 8) {
|
if (strlen(pass) != 0 && strlen(pass) < 8) {
|
||||||
s_reconnect = true;
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
strlcpy((char*) g_ap_config.ap.password, pass, MAX_PASSPHRASE_LEN);
|
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;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
wifi_cmd_ap_set(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]);
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user