Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 5646e9b

Browse files
committedSep 26, 2024·
Add WHD join retry patch
1 parent 931f0bb commit 5646e9b

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
From 42b018c12eb413383c6ae4f2432be9f0c2d9dbe9 Mon Sep 17 00:00:00 2001
2+
From: pennam <m.pennasilico@arduino.cc>
3+
Date: Mon, 17 Jun 2024 17:11:58 +0200
4+
Subject: [PATCH 231/233] WHD: reduce the number of join retry
5+
6+
---
7+
.../drivers/emac/COMPONENT_WHD/interface/WhdSTAInterface.cpp | 2 +-
8+
1 file changed, 1 insertion(+), 1 deletion(-)
9+
10+
diff --git a/connectivity/drivers/emac/COMPONENT_WHD/interface/WhdSTAInterface.cpp b/connectivity/drivers/emac/COMPONENT_WHD/interface/WhdSTAInterface.cpp
11+
index 509a2c0981..c933203d36 100644
12+
--- a/connectivity/drivers/emac/COMPONENT_WHD/interface/WhdSTAInterface.cpp
13+
+++ b/connectivity/drivers/emac/COMPONENT_WHD/interface/WhdSTAInterface.cpp
14+
@@ -260,7 +260,7 @@ nsapi_error_t WhdSTAInterface::connect()
15+
{
16+
ScopedMutexLock lock(_iface_shared.mutex);
17+
18+
-#define MAX_RETRY_COUNT ( 5 )
19+
+#define MAX_RETRY_COUNT ( 1 )
20+
int i;
21+
whd_result_t res;
22+
23+
--
24+
2.43.0
25+

0 commit comments

Comments
 (0)
Please sign in to comment.