summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-02-22 02:36:27 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-02-22 02:36:27 +0000
commitce742d95634d8a666a0f4df610c8eac4419d7716 (patch)
tree476cf08eddb92bfcf22eac00c8fe9b9d3b6ecf44 /src
parentc608311e7472325514f0578a20d59efc86792e39 (diff)
Fix IAC support
Diffstat (limited to 'src')
-rw-r--r--src/hci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hci.c b/src/hci.c
index 37715613..82bdbffc 100644
--- a/src/hci.c
+++ b/src/hci.c
@@ -1215,7 +1215,7 @@ int hci_write_current_iac_lap(int dd, uint8_t num_iac, uint8_t *lap, int to)
rq.ogf = OGF_HOST_CTL;
rq.ocf = OCF_WRITE_CURRENT_IAC_LAP;
rq.cparam = &cp;
- rq.clen = WRITE_CURRENT_IAC_LAP_CP_SIZE;
+ rq.clen = num_iac * 3 + 1;
return hci_send_req(dd, &rq, to);
}