From 545e14eeb7ee40fadc416a6f2e4c63851ad68368 Mon Sep 17 00:00:00 2001 From: Oliver Ruiz Dorantes Date: Mon, 25 Feb 2008 20:23:32 +0000 Subject: [PATCH] Implement correctly the returning of the HCI ID and the error code git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24125 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/kernel/drivers/bluetooth/h2/h2generic/h2generic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/add-ons/kernel/drivers/bluetooth/h2/h2generic/h2generic.c b/src/add-ons/kernel/drivers/bluetooth/h2/h2generic/h2generic.c index 98f6980b20..a0fd276084 100644 --- a/src/add-ons/kernel/drivers/bluetooth/h2/h2generic/h2generic.c +++ b/src/add-ons/kernel/drivers/bluetooth/h2/h2generic/h2generic.c @@ -628,7 +628,7 @@ device_control(void *cookie, uint32 msg, void *params, size_t size) case GET_HCI_ID: *(hci_id*)params = bdev->hdev; - err = bdev->hdev + 15; + err = B_OK; break;