summaryrefslogtreecommitdiffstats
path: root/include
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 /include
parentc608311e7472325514f0578a20d59efc86792e39 (diff)
Fix IAC support
Diffstat (limited to 'include')
-rw-r--r--include/hci.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/hci.h b/include/hci.h
index 6e41642b..4ffa34fc 100644
--- a/include/hci.h
+++ b/include/hci.h
@@ -688,14 +688,14 @@ typedef struct {
typedef struct {
uint8_t status;
uint8_t num_current_iac;
- uint8_t lap[3][MAX_IAC_LAP];
+ uint8_t lap[MAX_IAC_LAP][3];
} __attribute__ ((packed)) read_current_iac_lap_rp;
#define READ_CURRENT_IAC_LAP_RP_SIZE 2+3*MAX_IAC_LAP
#define OCF_WRITE_CURRENT_IAC_LAP 0x003A
typedef struct {
uint8_t num_current_iac;
- uint8_t lap[3][MAX_IAC_LAP];
+ uint8_t lap[MAX_IAC_LAP][3];
} __attribute__ ((packed)) write_current_iac_lap_cp;
#define WRITE_CURRENT_IAC_LAP_CP_SIZE 1+3*MAX_IAC_LAP