summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2011-01-25 13:43:58 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2011-01-25 13:43:58 +0200
commit3c8ab480f9020f49d51f4b8eb17746b70d16b989 (patch)
treef6b4116e310bcba1a6fa04c63559817125e67d0c
parent8b77225e7b850a0524703be5439023cfff23b16c (diff)
downloadbluez-3c8ab480f9020f49d51f4b8eb17746b70d16b989.tar.gz
mgmt: Add command complete detection for PIN code handling
-rw-r--r--plugins/mgmtops.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/mgmtops.c b/plugins/mgmtops.c
index dc8802271..1e5a9653e 100644
--- a/plugins/mgmtops.c
+++ b/plugins/mgmtops.c
@@ -1027,6 +1027,12 @@ static void mgmt_cmd_complete(int sk, void *buf, size_t len)
case MGMT_OP_GET_CONNECTIONS:
get_connections_complete(sk, ev->data, len - sizeof(*ev));
break;
+ case MGMT_OP_PIN_CODE_REPLY:
+ DBG("pin_code_reply complete");
+ break;
+ case MGMT_OP_PIN_CODE_NEG_REPLY:
+ DBG("pin_code_neg_reply complete");
+ break;
default:
error("Unknown command complete for opcode %u", opcode);
break;