aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/mgmt.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2012-02-02 04:02:29 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2012-02-13 17:01:32 +0200
commit28424707a2e4ad38ab546d2ed5e3d6b035a84258 (patch)
tree60fd8524c956047add2055b350dc600f3d24ff36 /include/net/bluetooth/mgmt.h
parentBluetooth: Fix clearing of debug and linkkey flags (diff)
downloadlinux-dev-28424707a2e4ad38ab546d2ed5e3d6b035a84258.tar.xz
linux-dev-28424707a2e4ad38ab546d2ed5e3d6b035a84258.zip
Bluetooth: mgmt: Implement Cancel Pair Device command
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. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Acked-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/bluetooth/mgmt.h')
-rw-r--r--include/net/bluetooth/mgmt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/mgmt.h b/include/net/bluetooth/mgmt.h
index 42eb48bb2c3b..72975fd53988 100644
--- a/include/net/bluetooth/mgmt.h
+++ b/include/net/bluetooth/mgmt.h
@@ -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;