Skip to content

Commit 99b6ba7

Browse files
More review comments
1 parent 0312ddb commit 99b6ba7

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/darwin/Framework/CHIP/MTRCommissionableBrowser.mm

+1-5
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,7 @@ CHIP_ERROR Stop(id owner)
114114

115115
#if CONFIG_NETWORK_LAYER_BLE
116116
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-
}
117+
PlatformMgrImpl().StopBleScan(); // doesn't actually fail, and if it did we'd want to carry on regardless
122118
#else
123119
(void) owner;
124120
#endif // CONFIG_NETWORK_LAYER_BLE

0 commit comments

Comments
 (0)