From: Johan Hedberg Date: Thu, 17 Jul 2014 12:35:40 +0000 (+0300) Subject: Bluetooth: Fix allowing initiating pairing when not pairable X-Git-Tag: cleanup-for-v3.18~108^2~73^2~17^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f407f0afb443207789df3fb46456551aea11cc3;p=pandora-kernel.git 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 Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed