commit | e3b679d56caa2bc555dee646a6ac5861631e7a28 | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Mon Aug 18 20:33:32 2014 +0300 |
committer | Marcel Holtmann <marcel@holtmann.org> | Mon Sep 08 19:07:55 2014 +0200 |
tree | 3b3d8063e8610516015028160b3fed08d551be7a | |
parent | 9b7b18ef1bea82e5fc1e05da386ff57b0f60f651 [diff] |
Bluetooth: Update hci_disconnect() to return an error value We'll soon use hci_disconnect() from places that are interested to know whether the hci_send_cmd() really succeeded or not. This patch updates hci_disconnect() to pass on any error returned from hci_send_cmd(). Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>