arch/risc-v/esp32c6: fix memcpy on AP password

This commit is contained in:
Filipe Cavalcanti 2024-12-16 09:30:11 -03:00 committed by Xiang Xiao
parent aca36a1784
commit 64aa1972af

View file

@ -5172,7 +5172,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)