Bluetooth: mgmt: Implement Cancel Pair Device command
Subsystems (2)
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.
Signed-off-by Johan Hedberg <[email protected]>--- include/net/bluetooth/mgmt.h | 1 + net/bluetooth/mgmt.c | 51 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+), 0 deletions(-)
Acked-by Marcel Holtmann <[email protected]>
Regards
Marcel
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.
Signed-off-by Johan Hedberg <[email protected]>
--- 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
@@ -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 0x10struct mgmt_hdr {__le16 opcode;
net/bluetooth/mgmt.c +51 -0
63 lines not on this page · raw message
Signature · 1 line
1.7.9