arch/risc-v/esp32c3: fix AP password memcpy typo
This commit is contained in:
parent
4b5585a316
commit
4d4d8a6ca5
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user