|
| 1 | +From 42b018c12eb413383c6ae4f2432be9f0c2d9dbe9 Mon Sep 17 00:00:00 2001 |
| 2 | +From: pennam <m.pennasilico@arduino.cc> |
| 3 | +Date: 2024年6月17日 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