From 395b03231beba9ef1ee65a480ab3efdeb83f1692 Mon Sep 17 00:00:00 2001 From: Mathieu Kardous <84793247+mkardous-silabs@users.noreply.github.com> Date: Thu, 28 Nov 2024 15:52:49 -0500 Subject: [PATCH] Apply suggestions from code review --- src/platform/silabs/wifi/SiWx/WifiInterface.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/platform/silabs/wifi/SiWx/WifiInterface.cpp b/src/platform/silabs/wifi/SiWx/WifiInterface.cpp index d9463e54b3..0e8181cc06 100644 --- a/src/platform/silabs/wifi/SiWx/WifiInterface.cpp +++ b/src/platform/silabs/wifi/SiWx/WifiInterface.cpp @@ -417,13 +417,14 @@ sl_status_t SetWifiConfigurations() * This callback handler will be invoked when any event within join event group occurs, providing the event details and any associated data * The callback doesn't get called when we join a network using the sl net APIs * + * @note In case of failure, the 'result' parameter will be of type sl_status_t, and the 'resultLenght' parameter should be ignored + * * @param[in] event sl_wifi_event_t that triggered the callback * @param[in] result Pointer to the response data received * @param[in] result_length Length of the data received in bytes * @param[in] arg Optional user provided argument * * @return sl_status_t Returns the status of the operation - * @note In case of failure, the 'result' parameter will be of type sl_status_t, and the 'resultLenght' parameter should be ignored */ sl_status_t JoinCallback(sl_wifi_event_t event, char * result, uint32_t resultLenght, void * arg) {