From 14798774655cfd93e7a437c18a0c38512e80d35f Mon Sep 17 00:00:00 2001 From: mkardous-silabs <84793247+mkardous-silabs@users.noreply.github.com> Date: Thu, 23 Jun 2022 13:02:26 -0400 Subject: [PATCH] remove mg24 ifndef (#19897) --- src/platform/EFR32/BLEManagerImpl.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/platform/EFR32/BLEManagerImpl.cpp b/src/platform/EFR32/BLEManagerImpl.cpp index de1078a668f7ea..795b8404237e58 100644 --- a/src/platform/EFR32/BLEManagerImpl.cpp +++ b/src/platform/EFR32/BLEManagerImpl.cpp @@ -706,14 +706,10 @@ CHIP_ERROR BLEManagerImpl::StartAdvertising(void) ChipLogDetail(DeviceLayer, "Start BLE advertissement"); } -#ifndef EFR32MG24 - // set_random_address causes issues in BLE driver later on with MG24 family. - // To be remove when updateing to GSDK4.0 const uint8_t kResolvableRandomAddrType = 2; // Private resolvable random address type bd_addr unusedBdAddr; // We can ignore this field when setting random address. sl_bt_advertiser_set_random_address(advertising_set_handle, kResolvableRandomAddrType, unusedBdAddr, &unusedBdAddr); (void) unusedBdAddr; -#endif err = ConfigureAdvertisingData(); SuccessOrExit(err);