]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Report error for HCI reset ioctl when device is down
authorMarcel Holtmann <marcel@holtmann.org>
Tue, 27 Aug 2013 03:57:58 +0000 (20:57 -0700)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Mon, 16 Sep 2013 17:35:55 +0000 (14:35 -0300)
commitb2f80f4e27b3cc13dd1ee8d751fae0c18d5f17a1
treeee53c93869c9594efa0fc40c1fe818ac9ddb8d78
parent25a4a0cddc274ef5aecf4d47b0270e81bca179bf
Bluetooth: Report error for HCI reset ioctl when device is down

Even if this is legacy API, there is no reason to not report a proper
error when trying to reset a HCI device that is down.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/hci_core.c