Bluetooth: clean up hci code
Do not use assignment in IF condition, remove extra spaces, fixing typos, simplify code. Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@nokia.com> Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
This commit is contained in:

committed by
Gustavo F. Padovan

parent
894718a6be
commit
70f23020e6
@@ -489,7 +489,7 @@ struct hci_rp_read_local_name {
|
||||
|
||||
#define HCI_OP_WRITE_PG_TIMEOUT 0x0c18
|
||||
|
||||
#define HCI_OP_WRITE_SCAN_ENABLE 0x0c1a
|
||||
#define HCI_OP_WRITE_SCAN_ENABLE 0x0c1a
|
||||
#define SCAN_DISABLED 0x00
|
||||
#define SCAN_INQUIRY 0x01
|
||||
#define SCAN_PAGE 0x02
|
||||
@@ -874,7 +874,7 @@ struct hci_ev_si_security {
|
||||
|
||||
struct hci_command_hdr {
|
||||
__le16 opcode; /* OCF & OGF */
|
||||
__u8 plen;
|
||||
__u8 plen;
|
||||
} __packed;
|
||||
|
||||
struct hci_event_hdr {
|
||||
|
Reference in New Issue
Block a user