Diff between a6ef3eb009136b5127ff94ed4c643e9a282c1bb3 and 6c3872af926f50f6d70b2e031cb11de95cc8a815
Changed Files
| File | Additions | Deletions | Status |
| tools/btmgmt.c | +1 | -1 | modified |
Full Patch
diff --git a/tools/btmgmt.c b/tools/btmgmt.c
index 3d03455..4c86dcb 100644
--- a/tools/btmgmt.c
+++ b/tools/btmgmt.c
@@ -2592,7 +2592,7 @@ static void cmd_cancel_pair(struct mgmt *mgmt, uint16_t index, int argc,
str2ba(argv[0], &cp.bdaddr);
cp.type = type;
- if (mgmt_send(mgmt, MGMT_OP_CANCEL_PAIR_DEVICE, index, sizeof(cp), &cp,
+ if (mgmt_reply(mgmt, MGMT_OP_CANCEL_PAIR_DEVICE, index, sizeof(cp), &cp,
cancel_pair_rsp, NULL, NULL) == 0) {
error("Unable to send cancel_pair_device cmd");
return noninteractive_quit(EXIT_FAILURE);