Skip to content

Commit

Permalink
Merge branch 'bugfix/clear_retry_times_when_connect_wifi' into 'main'
Browse files Browse the repository at this point in the history
fix(cli_ext): clear retry times when start connecting to wifi

See merge request espressif/esp-thread-br!79
  • Loading branch information
chshu committed Sep 6, 2023
2 parents 2a8fb6c + 7c12e76 commit 5910b51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/esp_ot_cli_extension/idf_component.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "0.5.2"
version: "0.5.3"
description: Espressif OpenThread CLI Extension
url: https://github.com/espressif/esp-thread-br/tree/main/components/esp_ot_cli_extension
dependencies:
Expand Down
2 changes: 1 addition & 1 deletion components/esp_ot_cli_extension/src/esp_ot_wifi_cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ void handle_wifi_addr_init(void)
static void wifi_join(const char *ssid, const char *psk)
{
static bool s_initialized = false;
static uint8_t retry_cnt = 0;
uint8_t retry_cnt = 0;
if (!s_initialized) {
wifi_init_config_t cfg = WIFI_INIT_CONFIG_DEFAULT();
if (!s_wait_ip_sem) {
Expand Down

0 comments on commit 5910b51

Please sign in to comment.