Bluetooth: Rename function bt_err to bt_to_errno

Make it easier to use more normal logging styles later.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
This commit is contained in:
Joe Perches
2011-06-29 18:18:29 -07:00
committed by Gustavo F. Padovan
parent 942ecc9c46
commit e175072f37
5 changed files with 8 additions and 8 deletions

View File

@@ -148,7 +148,7 @@ static int __hci_request(struct hci_dev *hdev, void (*req)(struct hci_dev *hdev,
switch (hdev->req_status) {
case HCI_REQ_DONE:
err = -bt_err(hdev->req_result);
err = -bt_to_errno(hdev->req_result);
break;
case HCI_REQ_CANCELED: