arch/risc-v/esp32c6: fix memcpy on AP password
This commit is contained in:
parent
ac56285bf8
commit
ecf683b13e
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue