We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0312ddb commit 99b6ba7Copy full SHA for 99b6ba7
src/darwin/Framework/CHIP/MTRCommissionableBrowser.mm
@@ -114,11 +114,7 @@ CHIP_ERROR Stop(id owner)
114
115
#if CONFIG_NETWORK_LAYER_BLE
116
mBleScannerDelegateOwner = owner; // retain the owner until OnBleScanStopped is called
117
- CHIP_ERROR err = PlatformMgrImpl().StopBleScan();
118
- if (err != CHIP_NO_ERROR) {
119
- mBleScannerDelegateOwner = nil;
120
- return err;
121
- }
+ PlatformMgrImpl().StopBleScan(); // doesn't actually fail, and if it did we'd want to carry on regardless
122
#else
123
(void) owner;
124
#endif // CONFIG_NETWORK_LAYER_BLE
0 commit comments