Skip to content

Commit b33779a

Browse files
authored
Merge pull request #1012 from pennam/set-timeout-fix
patches: WHD fix wifi join timeout
2 parents f1cf837 + c5029cd commit b33779a

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
From 310f0dd40c5b070ea2077c8a580f777a5cf17951 Mon Sep 17 00:00:00 2001
2+
From: pennam <[email protected]>
3+
Date: Tue, 7 Jan 2025 09:47:09 +0100
4+
Subject: [PATCH] WHD: fix WhdSTAInterface, add return value to set_timeout
5+
6+
---
7+
.../drivers/emac/COMPONENT_WHD/interface/WhdSTAInterface.h | 1 +
8+
1 file changed, 1 insertion(+)
9+
10+
diff --git a/connectivity/drivers/emac/COMPONENT_WHD/interface/WhdSTAInterface.h b/connectivity/drivers/emac/COMPONENT_WHD/interface/WhdSTAInterface.h
11+
index bfe933bac7..8d8f540759 100644
12+
--- a/connectivity/drivers/emac/COMPONENT_WHD/interface/WhdSTAInterface.h
13+
+++ b/connectivity/drivers/emac/COMPONENT_WHD/interface/WhdSTAInterface.h
14+
@@ -122,6 +122,7 @@ public:
15+
nsapi_error_t set_timeout(uint32_t timeout)
16+
{
17+
_timeout = timeout;
18+
+ return NSAPI_ERROR_OK;
19+
}
20+
21+
/** Set blocking status of interface.
22+
--
23+
2.45.2
24+

0 commit comments

Comments
 (0)