diff options
author | Vinicius Costa Gomes <vinicius.gomes@openbossa.org> | 2010-07-08 15:54:19 -0300 |
---|---|---|
committer | Vinicius Costa Gomes <vinicius.gomes@openbossa.org> | 2010-07-08 21:05:36 -0300 |
commit | 032fc6f086809f64366a9754e13fc64093b21480 (patch) | |
tree | cdbe76062cb64117c80dbd30d431f2901e7b3de3 | |
parent | 46d1c28faf71d2e9cf281696bc762ef90b165005 (diff) | |
download | bluez-032fc6f086809f64366a9754e13fc64093b21480.tar.gz |
Fix wrong fields on le_create_connection_cp
There were some fields that were mistakenly added to the structure,
this removes them and fixes the size of the struct.
-rw-r--r-- | lib/hci.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1350,11 +1350,10 @@ typedef struct { typedef struct { uint16_t interval; uint16_t window; - uint16_t initiator_filter; + uint8_t initiator_filter; uint8_t peer_bdaddr_type; bdaddr_t peer_bdaddr; uint8_t own_bdaddr_type; - bdaddr_t own_bdaddr; uint16_t min_interval; uint16_t max_interval; uint16_t latency; @@ -1362,7 +1361,7 @@ typedef struct { uint16_t min_ce_length; uint16_t max_ce_length; } __attribute__ ((packed)) le_create_connection_cp; -#define LE_CREATE_CONN_CP_SIZE 32 +#define LE_CREATE_CONN_CP_SIZE 25 #define OCF_LE_CREATE_CONN_CANCEL 0x000E |