[PATCH BlueZ] mgmtops: Add CANCEL_PAIR_DEVICE command complete handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This avoids the "Unknown command complete for opcode 26" error.
---
 plugins/mgmtops.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/plugins/mgmtops.c b/plugins/mgmtops.c
index 95fbe8b..42a8a1f 100644
--- a/plugins/mgmtops.c
+++ b/plugins/mgmtops.c
@@ -1326,6 +1326,9 @@ static void mgmt_cmd_complete(int sk, uint16_t index, void *buf, size_t len)
 	case MGMT_OP_LOAD_LINK_KEYS:
 		DBG("load_link_keys complete");
 		break;
+	case MGMT_OP_CANCEL_PAIR_DEVICE:
+		DBG("cancel_pair_device complete");
+		break;
 	case MGMT_OP_UNPAIR_DEVICE:
 		DBG("unpair_device complete");
 		break;
-- 
1.7.5.4

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux