Skip to content

Commit

Permalink
Add WHD join retry patch
Browse files Browse the repository at this point in the history
  • Loading branch information
pennam committed Oct 21, 2024
1 parent 06df5d3 commit c2cfecf
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions patches/0238-WHD-reduce-the-number-of-join-retry.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
From 42b018c12eb413383c6ae4f2432be9f0c2d9dbe9 Mon Sep 17 00:00:00 2001
From: pennam <[email protected]>
Date: Mon, 17 Jun 2024 17:11:58 +0200
Subject: [PATCH] WHD: reduce the number of join retry

---
.../drivers/emac/COMPONENT_WHD/interface/WhdSTAInterface.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/connectivity/drivers/emac/COMPONENT_WHD/interface/WhdSTAInterface.cpp b/connectivity/drivers/emac/COMPONENT_WHD/interface/WhdSTAInterface.cpp
index 509a2c0981..c933203d36 100644
--- a/connectivity/drivers/emac/COMPONENT_WHD/interface/WhdSTAInterface.cpp
+++ b/connectivity/drivers/emac/COMPONENT_WHD/interface/WhdSTAInterface.cpp
@@ -260,7 +260,7 @@ nsapi_error_t WhdSTAInterface::connect()
{
ScopedMutexLock lock(_iface_shared.mutex);

-#define MAX_RETRY_COUNT ( 5 )
+#define MAX_RETRY_COUNT ( 1 )
int i;
whd_result_t res;

--
2.43.0

0 comments on commit c2cfecf

Please sign in to comment.