aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnderson Lizardo <anderson.lizardo@openbossa.org>2012-02-29 15:57:15 -0400
committerJohan Hedberg <johan.hedberg@intel.com>2012-02-29 20:04:36 -0600
commit7b797f88f8f28687081e2baf08ecf8d510610a63 (patch)
treee83ad98751664f8bcabc42ef2b64352d301df5d7
parentf3bf387f1de54297f7bf45f479443b42ef40af61 (diff)
downloadbluez-7b797f88f8f28687081e2baf08ecf8d510610a63.tar.gz
bluez-7b797f88f8f28687081e2baf08ecf8d510610a63.tar.xz
bluez-7b797f88f8f28687081e2baf08ecf8d510610a63.zip
mgmtops: Add CANCEL_PAIR_DEVICE command complete handling
This avoids the "Unknown command complete for opcode 26" error.
-rw-r--r--plugins/mgmtops.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/mgmtops.c b/plugins/mgmtops.c
index 95fbe8b0..42a8a1f9 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;