Skip to contentSkip to conversation

Bluetooth: mgmt: Implement Cancel Pair Device command

PATCH In review [email protected] 2 participants 2 messages Feb 2, 2012

Subsystems (2)
lore
Share & tools
lore
maintainer Acked-by on v1 1/1
#1 lore raw
In reply to [email protected]

Hi Johan,

Quoted 9 lines

This patch implements the Cancel Pair Device command for mgmt. It's used by user space to cancel an ongoing pairing attempt which was triggered by the Pair Device command.

---
 include/net/bluetooth/mgmt.h |    1 +
 net/bluetooth/mgmt.c         |   51 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+), 0 deletions(-)

Regards

Marcel

#0 lore raw

PATCH 1/1 Bluetooth: mgmt: Implement Cancel Pair Device command

From: Johan Hedberg <[email protected]>

This patch implements the Cancel Pair Device command for mgmt. It's used by user space to cancel an ongoing pairing attempt which was triggered by the Pair Device command.

---
 include/net/bluetooth/mgmt.h |    1 +
 net/bluetooth/mgmt.c         |   51 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+), 0 deletions(-)
include/net/bluetooth/mgmt.h +1 -0
index 42eb48b..72975fd 100644
@@ -39,6 +39,7 @@
 #define MGMT_STATUS_INVALID_PARAMS	0x0d
 #define MGMT_STATUS_DISCONNECTED	0x0e
 #define MGMT_STATUS_NOT_POWERED		0x0f
+#define MGMT_STATUS_CANCELLED		0x10
 
 struct mgmt_hdr {
 	__le16 opcode;
net/bluetooth/mgmt.c +51 -0

63 lines not on this page · raw message

Signature · 1 line
1.7.9