Skip to content

Commit

Permalink
arch/risc-v/esp32c3: fix AP password memcpy typo
Browse files Browse the repository at this point in the history
  • Loading branch information
fdcavalcanti authored and pkarashchenko committed Aug 19, 2024
1 parent 4b5585a commit 4d4d8a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/risc-v/src/esp32c3/esp_wifi_adapter.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4d4d8a6

Please sign in to comment.