arch/risc-v/esp32c3: fix AP password memcpy typo

This commit is contained in:
Filipe Cavalcanti 2024-08-19 15:30:19 -03:00 committed by Petro Karashchenko
parent 4b5585a316
commit 4d4d8a6ca5

View File

@ -5119,7 +5119,7 @@ int esp_wifi_softap_password(struct iwreq *iwr, bool set)
if (ext->alg != IW_ENCODE_ALG_NONE)
{
memcpy(wifi_cfg.sta.password, pdata, len);
memcpy(wifi_cfg.ap.password, pdata, len);
}
if (g_softap_started)