diff --git a/src/app/server/Server.cpp b/src/app/server/Server.cpp index 147739b7724c5f..4549e15925758a 100644 --- a/src/app/server/Server.cpp +++ b/src/app/server/Server.cpp @@ -198,7 +198,7 @@ CHIP_ERROR Server::Init(AppDelegate * delegate, uint16_t secureServicePort, uint { // The device is already commissioned, proactively disable BLE advertisement. ChipLogProgress(AppServer, "Fabric already commissioned. Disabling BLE advertisement"); - + #if CONFIG_NETWORK_LAYER_BLE chip::DeviceLayer::ConnectivityMgr().SetBLEAdvertisingEnabled(false); #endif