Bluetooth: Rename function bt_err to bt_to_errno
[pandora-kernel.git] / net / bluetooth / hci_core.c
index 0029e17..cd59b84 100644 (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: