]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Move IRK checking logic in preparation to new connect method
authorJakub Pawlowski <jpawlowski@google.com>
Mon, 20 Jul 2015 11:12:49 +0000 (13:12 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 23 Jul 2015 15:10:51 +0000 (17:10 +0200)
commitcd3d4ad57ad6a56c99f0e6c93dcbca07e3146e56
tree6e85d39923d45195bf193aa6194779bbc496170c
parentc291606ddbe48639f334826baca627ba1d2198ba
Bluetooth: Move IRK checking logic in preparation to new connect method

Move IRK checking logic in preparation to new connect method. Also
make sure that MGMT_STATUS_INVALID_PARAMS is returned when non
identity address is passed to ADD_DEVICE. Right now MGMT_STATUS_FAILED
is returned, which might be misleading.

Signed-off-by: Jakub Pawlowski <jpawlowski@google.com>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/hci_core.c
net/bluetooth/mgmt.c