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:
parent
4d72fb9480
commit
545e14eeb7
@ -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;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user