diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2006-07-31 09:56:18 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2006-07-31 09:56:18 +0000 |
commit | 646fda930139720d7d9c45cc085ae4eb7018d8bb (patch) | |
tree | 3c8761e4164053e4c3b49c9f007716707123dc97 /src/hci.c | |
parent | 05909adb9c4d36adb8d95c14ab5d4aa6514edbe5 (diff) |
Add link supervision timeout change event
Diffstat (limited to 'src/hci.c')
-rw-r--r-- | src/hci.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2058,7 +2058,7 @@ int hci_read_link_supervision_timeout(int dd, uint16_t handle, uint16_t *timeout return -1; } - *timeout = rp.link_sup_to; + *timeout = rp.timeout; return 0; } @@ -2069,8 +2069,8 @@ int hci_write_link_supervision_timeout(int dd, uint16_t handle, uint16_t timeout struct hci_request rq; memset(&cp, 0, sizeof(cp)); - cp.handle = handle; - cp.link_sup_to = timeout; + cp.handle = handle; + cp.timeout = timeout; memset(&rq, 0, sizeof(rq)); rq.ogf = OGF_HOST_CTL; |