aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/hci.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2014-11-17 13:52:20 -0500
committerMarcel Holtmann <marcel@holtmann.org>2014-11-17 19:53:15 -0500
commit38da1703060a520e69b00405f9bdf765d1396cd0 (patch)
tree40ecf418532711b858635ae05431ba7819d97195 /include/net/bluetooth/hci.h
parentc19a495c8bccc15acd299f26d72b5d51eb3acb1d (diff)
Bluetooth: Use shorter "rand" name for "randomizer"
The common short form of "randomizer" is "rand" in many places (including the Bluetooth specification). The shorter version also makes for easier to read code with less forced line breaks. This patch renames all occurences of "randomizer" to "rand" in the Bluetooth subsystem code. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/bluetooth/hci.h')
-rw-r--r--include/net/bluetooth/hci.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h
index d5f85d7746bc..e56f9099f8e3 100644
--- a/include/net/bluetooth/hci.h
+++ b/include/net/bluetooth/hci.h
@@ -639,7 +639,7 @@ struct hci_cp_user_passkey_reply {
639struct hci_cp_remote_oob_data_reply { 639struct hci_cp_remote_oob_data_reply {
640 bdaddr_t bdaddr; 640 bdaddr_t bdaddr;
641 __u8 hash[16]; 641 __u8 hash[16];
642 __u8 randomizer[16]; 642 __u8 rand[16];
643} __packed; 643} __packed;
644 644
645#define HCI_OP_REMOTE_OOB_DATA_NEG_REPLY 0x0433 645#define HCI_OP_REMOTE_OOB_DATA_NEG_REPLY 0x0433
@@ -731,9 +731,9 @@ struct hci_rp_set_csb {
731struct hci_cp_remote_oob_ext_data_reply { 731struct hci_cp_remote_oob_ext_data_reply {
732 bdaddr_t bdaddr; 732 bdaddr_t bdaddr;
733 __u8 hash192[16]; 733 __u8 hash192[16];
734 __u8 randomizer192[16]; 734 __u8 rand192[16];
735 __u8 hash256[16]; 735 __u8 hash256[16];
736 __u8 randomizer256[16]; 736 __u8 rand256[16];
737} __packed; 737} __packed;
738 738
739#define HCI_OP_SNIFF_MODE 0x0803 739#define HCI_OP_SNIFF_MODE 0x0803
@@ -940,7 +940,7 @@ struct hci_cp_write_ssp_mode {
940struct hci_rp_read_local_oob_data { 940struct hci_rp_read_local_oob_data {
941 __u8 status; 941 __u8 status;
942 __u8 hash[16]; 942 __u8 hash[16];
943 __u8 randomizer[16]; 943 __u8 rand[16];
944} __packed; 944} __packed;
945 945
946#define HCI_OP_READ_INQ_RSP_TX_POWER 0x0c58 946#define HCI_OP_READ_INQ_RSP_TX_POWER 0x0c58
@@ -1024,9 +1024,9 @@ struct hci_cp_write_sc_support {
1024struct hci_rp_read_local_oob_ext_data { 1024struct hci_rp_read_local_oob_ext_data {
1025 __u8 status; 1025 __u8 status;
1026 __u8 hash192[16]; 1026 __u8 hash192[16];
1027 __u8 randomizer192[16]; 1027 __u8 rand192[16];
1028 __u8 hash256[16]; 1028 __u8 hash256[16];
1029 __u8 randomizer256[16]; 1029 __u8 rand256[16];
1030} __packed; 1030} __packed;
1031 1031
1032#define HCI_OP_READ_LOCAL_VERSION 0x1001 1032#define HCI_OP_READ_LOCAL_VERSION 0x1001