Skip to content

Commit

Permalink
Disable WIFI_IF_start In ConnectivityManager
Browse files Browse the repository at this point in the history
This would start wifi twice, so disable it here and only start it in bacon. Ideally this case would be handles in the wifi_if.c
  • Loading branch information
tobiasgraf committed Feb 9, 2024
1 parent cafa36e commit b359bce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/platform/cc32xx/ConnectivityManagerImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ CHIP_ERROR ConnectivityManagerImpl::_Init()
{
void *hWifiConn;

cc32xxLog("Start Wi-Fi");
WIFI_IF_start(_OnWifiEvent, WIFI_SERVICE_LVL_MAC, 0xffff, &hWifiConn);
// cc32xxLog("Start Wi-Fi");
// WIFI_IF_start(_OnWifiEvent, WIFI_SERVICE_LVL_MAC, 0xffff, &hWifiConn);
/* Try to connect to AP and go through provisioning (if needed) */

return CHIP_NO_ERROR;
Expand Down

0 comments on commit b359bce

Please sign in to comment.