summaryrefslogtreecommitdiffstats
path: root/src/hci.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-01-13 22:46:41 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-01-13 22:46:41 +0000
commit864124c296636015f90e26512143cf2c297ed6d2 (patch)
tree84320e2d982933e4fde76eb780ab9a3f7c3b3a7e /src/hci.c
parentef8d27c6202740ad13ec702f6a29a1a71be5acc4 (diff)
The link supervision timeout is host control
Diffstat (limited to 'src/hci.c')
-rw-r--r--src/hci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hci.c b/src/hci.c
index 10f4fcb6..ca53105e 100644
--- a/src/hci.c
+++ b/src/hci.c
@@ -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;