Skip to content

Commit

Permalink
Adress review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mkardous-silabs committed Oct 30, 2024
1 parent 052c5f9 commit d12e98c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
12 changes: 4 additions & 8 deletions examples/platform/silabs/SiWx917/SiWxWifiInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -339,10 +339,8 @@ sl_status_t InitiateScan()
osSemaphoreAcquire(sScanCompleteSemaphore, kWifiScanTimeoutTicks);
status = SL_STATUS_OK;
}
else
{
osSemaphoreRelease(sScanInProgressSemaphore);
}

osSemaphoreRelease(sScanInProgressSemaphore);
#endif

return status;
Expand Down Expand Up @@ -799,10 +797,8 @@ void ProcessEvent(WfxEvent_t inEvent)
{
osSemaphoreAcquire(sScanCompleteSemaphore, kWifiScanTimeoutTicks);
}
else
{
osSemaphoreRelease(sScanInProgressSemaphore);
}

osSemaphoreRelease(sScanInProgressSemaphore);
}
break;
#endif /* SL_WFX_CONFIG_SCAN */
Expand Down
2 changes: 1 addition & 1 deletion examples/platform/silabs/wifi/wfx_rsi_host.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* limitations under the License.
*/

// MATTER INTERFACE
// SL MATTER WI-FI INTERFACE

#include <stdbool.h>
#include <stdio.h>
Expand Down

0 comments on commit d12e98c

Please sign in to comment.