From b1abc64bb32ab77993437ed4a1a13740ee42d55f Mon Sep 17 00:00:00 2001 From: Karsten Sperling Date: Thu, 8 Feb 2024 14:19:55 +1300 Subject: [PATCH] Clear handled err before the next call --- src/platform/Linux/ConnectivityManagerImpl.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/platform/Linux/ConnectivityManagerImpl.cpp b/src/platform/Linux/ConnectivityManagerImpl.cpp index 2f60309bc5c4db..a2566d20f35560 100644 --- a/src/platform/Linux/ConnectivityManagerImpl.cpp +++ b/src/platform/Linux/ConnectivityManagerImpl.cpp @@ -1094,6 +1094,7 @@ static CHIP_ERROR AddOrReplaceBlob(WpaFiW1Wpa_supplicant1Interface * iface, cons ChipLogError(DeviceLayer, "wpa_supplicant: failed to remove blob: %s", err ? err->message : "unknown error"); return CHIP_ERROR_INTERNAL; } + err.reset(); } if (!wpa_fi_w1_wpa_supplicant1_interface_call_add_blob_sync( iface, name, g_variant_new_fixed_array(G_VARIANT_TYPE_BYTE, data.data(), data.size(), 1), nullptr,