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
This commit is contained in:
Oliver Ruiz Dorantes 2008-02-25 20:23:32 +00:00
parent 4d72fb9480
commit 545e14eeb7

View File

@ -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;