Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

patches: WHD fix wifi join timeout #1012

Merged
merged 1 commit into from
Jan 20, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
From 310f0dd40c5b070ea2077c8a580f777a5cf17951 Mon Sep 17 00:00:00 2001
From: pennam <m.pennasilico@arduino.cc>
Date: Tue, 7 Jan 2025 09:47:09 +0100
Subject: [PATCH] WHD: fix WhdSTAInterface, add return value to set_timeout

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

diff --git a/connectivity/drivers/emac/COMPONENT_WHD/interface/WhdSTAInterface.h b/connectivity/drivers/emac/COMPONENT_WHD/interface/WhdSTAInterface.h
index bfe933bac7..8d8f540759 100644
--- a/connectivity/drivers/emac/COMPONENT_WHD/interface/WhdSTAInterface.h
+++ b/connectivity/drivers/emac/COMPONENT_WHD/interface/WhdSTAInterface.h
@@ -122,6 +122,7 @@ public:
nsapi_error_t set_timeout(uint32_t timeout)
{
_timeout = timeout;
+ return NSAPI_ERROR_OK;
}

/** Set blocking status of interface.
--
2.45.2