Diff between 1ef26f22f8ab6f08053ae8f3f6c35c33bbdfc121 and c1811ad8e86939c4d0176a37930a260e09df8cfc
Changed Files
| File | Additions | Deletions | Status |
| tools/btmgmt.c | +1 | -2 | modified |
Full Patch
diff --git a/tools/btmgmt.c b/tools/btmgmt.c
index ed9a7bb..8f8bca1 100644
--- a/tools/btmgmt.c
+++ b/tools/btmgmt.c
@@ -2309,8 +2309,7 @@ static void stop_find_rsp(uint8_t status, uint16_t len, const void *param,
fprintf(stderr,
"Stop Discovery failed: status 0x%02x (%s)\n",
status, mgmt_errstr(status));
- mainloop_quit();
- return;
+ return noninteractive_quit(EXIT_SUCCESS);
}
printf("Discovery stopped\n");