From 3d4b7a5b529c89eea3018514057cb12dc3b6c780 Mon Sep 17 00:00:00 2001 From: Rohit Jadhav <69809379+jadhavrohit924@users.noreply.github.com> Date: Tue, 26 Sep 2023 00:08:02 +0530 Subject: [PATCH] [ESP32] Fix template argument for scan response (#29437) --- src/platform/ESP32/nimble/BLEManagerImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/ESP32/nimble/BLEManagerImpl.cpp b/src/platform/ESP32/nimble/BLEManagerImpl.cpp index 8c5fc972860dde..66a4d29df768d4 100644 --- a/src/platform/ESP32/nimble/BLEManagerImpl.cpp +++ b/src/platform/ESP32/nimble/BLEManagerImpl.cpp @@ -1006,7 +1006,7 @@ CHIP_ERROR BLEManagerImpl::ConfigureScanResponseData(ByteSpan data) } memcpy(scanResponseBuffer, data.data(), data.size()); ByteSpan scanResponseSpan(scanResponseBuffer); - mScanResponse = chip::Optional(scanResponseSpan); + mScanResponse = chip::Optional(scanResponseSpan); return CHIP_NO_ERROR; }