]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: AMP contollers do not support the legacy ioctls
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 10 Oct 2013 17:02:08 +0000 (10:02 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 10 Oct 2013 20:08:37 +0000 (22:08 +0200)
commitea24e29171fe84341a9e72d1f31712acd62b5bd0
tree84914ade6e47a0f7b89679d1380ba6e943c77aa5
parent8118314bf59da597c2edb2acefcb5f4a84257db2
Bluetooth: AMP contollers do not support the legacy ioctls

The legacy ioctls for device specific commands including inquiry are
not support by AMP controllers. So just reject them right away instead
of trying to send the HCI command and wait for failure from the
actual hardware.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/hci_core.c
net/bluetooth/hci_sock.c