diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2014-07-17 16:35:40 +0400 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-07-17 16:39:40 +0400 |
commit | 2f407f0afb443207789df3fb46456551aea11cc3 (patch) | |
tree | 692c42de376c055b39ae50c49fc990603ad350fb /net/bluetooth/l2cap_sock.c | |
parent | 977f8fce0279e5f96dc5c5068610d60b9ae94802 (diff) | |
download | linux-2f407f0afb443207789df3fb46456551aea11cc3.tar.xz |
Bluetooth: Fix allowing initiating pairing when not pairable
When we're not pairable we should still allow us to act as initiators
for pairing, i.e. the HCI_PAIRABLE flag should only be affecting
incoming pairing attempts. This patch fixes the relevant checks for the
hci_io_capa_request_evt() and hci_pin_code_request_evt() functions.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/l2cap_sock.c')
0 files changed, 0 insertions, 0 deletions