Bluetooth: Send correct response to IO Capability Request
authorHemant Gupta <hemant.gupta@stericsson.com>
Mon, 16 Jan 2012 08:04:29 +0000 (13:34 +0530)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 13 Feb 2012 15:01:31 +0000 (17:01 +0200)
commit7a7f1e7c857959f5298020969741e389f21edbae
tree2735825da06d14d483680423d07d000e6bee21d4
parentb7d05bad1c10a363b6b99f66ac1fa76b6892e618
Bluetooth: Send correct response to IO Capability Request

This patch sends correct IO Capability response to remote device
in case Local Device supports KeyBoardDisplay IO Capability as
this capability is not valid as per BT spec for IO capability
Request Reply Command.
This capability is mapped to DisplayYesNo which is in accordance
with BT spec.

Signed-off-by: Hemant Gupta <hemant.gupta@stericsson.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/hci_event.c