aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/hci_core.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2014-01-13 17:15:53 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2014-02-13 09:51:34 +0200
commiteadd663a6ab78df479d116a59368a70dc60d8288 (patch)
tree04c699aecc0413668399fef11c5e63792eed68f2 /include/net/bluetooth/hci_core.h
parentBluetooth: Convert to use ATTRIBUTE_GROUPS macro (diff)
downloadlinux-dev-eadd663a6ab78df479d116a59368a70dc60d8288.tar.xz
linux-dev-eadd663a6ab78df479d116a59368a70dc60d8288.zip
Bluetooth: Fix mgmt error code for negative PIN response
The NOT_PAIRED status is only really suitable for operations where being paired is a pre-requisite. Using it e.g. for the mgmt_pair_device command seems unintuitive. In the case that either the local or the remote user responds with a negative PIN Code response the "PIN or Key Missing" HCI status will be generated. This patch changes the mapping of this status from the NOT_PAIRED mgmt status to the more intuitive AUTH_FAILED mgmt status. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/bluetooth/hci_core.h')
0 files changed, 0 insertions, 0 deletions