diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2013-10-08 04:12:25 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2013-10-08 04:12:25 -0700 |
commit | f095b87f550f50d8f3fa992dc2c77d6db7a31d9a (patch) | |
tree | f846933f0309854c5c7eb96da952a1a6e185f2bf /lib | |
parent | 757ad2e6f7035aaa05c1cf1b0c773ad516a09870 (diff) |
lib: Fix a few whitespace damages
Diffstat (limited to 'lib')
-rw-r--r-- | lib/hci.h | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -650,9 +650,9 @@ typedef struct { } __attribute__ ((packed)) hci_qos; #define HCI_QOS_CP_SIZE 17 typedef struct { - uint16_t handle; - uint8_t flags; /* Reserved */ - hci_qos qos; + uint16_t handle; + uint8_t flags; /* Reserved */ + hci_qos qos; } __attribute__ ((packed)) qos_setup_cp; #define QOS_SETUP_CP_SIZE (3 + HCI_QOS_CP_SIZE) @@ -681,7 +681,7 @@ typedef struct { } __attribute__ ((packed)) read_link_policy_cp; #define READ_LINK_POLICY_CP_SIZE 2 typedef struct { - uint8_t status; + uint8_t status; uint16_t handle; uint16_t policy; } __attribute__ ((packed)) read_link_policy_rp; @@ -694,7 +694,7 @@ typedef struct { } __attribute__ ((packed)) write_link_policy_cp; #define WRITE_LINK_POLICY_CP_SIZE 4 typedef struct { - uint8_t status; + uint8_t status; uint16_t handle; } __attribute__ ((packed)) write_link_policy_rp; #define WRITE_LINK_POLICY_RP_SIZE 3 @@ -1808,14 +1808,14 @@ typedef struct { } __attribute__ ((packed)) evt_qos_setup_complete; #define EVT_QOS_SETUP_COMPLETE_SIZE (4 + HCI_QOS_CP_SIZE) -#define EVT_CMD_COMPLETE 0x0E +#define EVT_CMD_COMPLETE 0x0E typedef struct { uint8_t ncmd; uint16_t opcode; } __attribute__ ((packed)) evt_cmd_complete; #define EVT_CMD_COMPLETE_SIZE 3 -#define EVT_CMD_STATUS 0x0F +#define EVT_CMD_STATUS 0x0F typedef struct { uint8_t status; uint8_t ncmd; @@ -2251,25 +2251,25 @@ typedef struct { uint16_t opcode; /* OCF & OGF */ uint8_t plen; } __attribute__ ((packed)) hci_command_hdr; -#define HCI_COMMAND_HDR_SIZE 3 +#define HCI_COMMAND_HDR_SIZE 3 typedef struct { uint8_t evt; uint8_t plen; } __attribute__ ((packed)) hci_event_hdr; -#define HCI_EVENT_HDR_SIZE 2 +#define HCI_EVENT_HDR_SIZE 2 typedef struct { uint16_t handle; /* Handle & Flags(PB, BC) */ uint16_t dlen; } __attribute__ ((packed)) hci_acl_hdr; -#define HCI_ACL_HDR_SIZE 4 +#define HCI_ACL_HDR_SIZE 4 typedef struct { uint16_t handle; uint8_t dlen; } __attribute__ ((packed)) hci_sco_hdr; -#define HCI_SCO_HDR_SIZE 3 +#define HCI_SCO_HDR_SIZE 3 typedef struct { uint16_t device; |