From 864124c296636015f90e26512143cf2c297ed6d2 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Thu, 13 Jan 2005 22:46:41 +0000 Subject: The link supervision timeout is host control --- src/hci.c | 4 ++-- 1 file 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; -- cgit