]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Add 'Already Paired' error for Pair Device command
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 10 Mar 2015 20:34:40 +0000 (22:34 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 10 Mar 2015 20:42:05 +0000 (21:42 +0100)
commitc8bc3b426712521130dd659f194d6b94bd3b11bd
tree896a09d711e70975b996268dea4d77c60a5bd47a
parent65cb99c98c58ce4d1656db9c8806a8df5e3a33d2
Bluetooth: Add 'Already Paired' error for Pair Device command

To make the behavior predictable when attempting to pair with a device
for which we already have a Link Key or Long Term Key, this patch adds a
new 'Already Paired' error which gets sent in such a scenario.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/hci_core.h
include/net/bluetooth/mgmt.h
net/bluetooth/hci_core.c
net/bluetooth/mgmt.c