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)
commit5b69bef541318857881c84958e01c7d96bfaf8d3
tree84914ade6e47a0f7b89679d1380ba6e943c77aa5
parent014f7bc78738d86e156635d5ac239e199573df66
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