diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2005-01-13 22:46:41 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2005-01-13 22:46:41 +0000 |
commit | 864124c296636015f90e26512143cf2c297ed6d2 (patch) | |
tree | 84320e2d982933e4fde76eb780ab9a3f7c3b3a7e | |
parent | ef8d27c6202740ad13ec702f6a29a1a71be5acc4 (diff) |
The link supervision timeout is host control
-rw-r--r-- | src/hci.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1438,7 +1438,7 @@ int hci_read_link_supervision_timeout(int dd, uint16_t handle, uint16_t *timeout struct hci_request rq; memset(&rq, 0, sizeof(rq)); - rq.ogf = OGF_STATUS_PARAM; + rq.ogf = OGF_HOST_CTL; rq.ocf = OCF_READ_LINK_SUPERVISION_TIMEOUT; rq.cparam = &handle; rq.clen = 2; @@ -1468,7 +1468,7 @@ int hci_write_link_supervision_timeout(int dd, uint16_t handle, uint16_t timeout cp.link_sup_to = timeout; memset(&rq, 0, sizeof(rq)); - rq.ogf = OGF_STATUS_PARAM; + rq.ogf = OGF_HOST_CTL; rq.ocf = OCF_WRITE_LINK_SUPERVISION_TIMEOUT; rq.cparam = &cp; rq.clen = WRITE_LINK_SUPERVISION_TIMEOUT_CP_SIZE; |