diff options
author | Andrei Emeltchenko <andrei.emeltchenko@intel.com> | 2012-03-09 05:12:12 -0500 |
---|---|---|
committer | Gustavo Padovan <gustavo@padovan.org> | 2012-05-08 23:41:29 -0400 |
commit | 9a0066579270584108f1f2f97d98fe989d8117df (patch) | |
tree | aaa0f4ad4bcd1e88f1029011c2662d714ae76a29 /include/net | |
parent | 7d69230c4381a5abc7286a8dfc893268e14e6ead (diff) |
Bluetooth: Correct type for ediv to __le16
Correct type warnings reported by sparse to show that this
functions takes ediv argument in __le16 format.
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/bluetooth/hci_core.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h index 53e8eb2f0a2e..0eec5dbaee0f 100644 --- a/include/net/bluetooth/hci_core.h +++ b/include/net/bluetooth/hci_core.h | |||
@@ -673,8 +673,8 @@ int hci_add_link_key(struct hci_dev *hdev, struct hci_conn *conn, int new_key, | |||
673 | bdaddr_t *bdaddr, u8 *val, u8 type, u8 pin_len); | 673 | bdaddr_t *bdaddr, u8 *val, u8 type, u8 pin_len); |
674 | struct smp_ltk *hci_find_ltk(struct hci_dev *hdev, __le16 ediv, u8 rand[8]); | 674 | struct smp_ltk *hci_find_ltk(struct hci_dev *hdev, __le16 ediv, u8 rand[8]); |
675 | int hci_add_ltk(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 addr_type, u8 type, | 675 | int hci_add_ltk(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 addr_type, u8 type, |
676 | int new_key, u8 authenticated, u8 tk[16], u8 enc_size, u16 ediv, | 676 | int new_key, u8 authenticated, u8 tk[16], u8 enc_size, |
677 | u8 rand[8]); | 677 | __le16 ediv, u8 rand[8]); |
678 | struct smp_ltk *hci_find_ltk_by_addr(struct hci_dev *hdev, bdaddr_t *bdaddr, | 678 | struct smp_ltk *hci_find_ltk_by_addr(struct hci_dev *hdev, bdaddr_t *bdaddr, |
679 | u8 addr_type); | 679 | u8 addr_type); |
680 | int hci_remove_ltk(struct hci_dev *hdev, bdaddr_t *bdaddr); | 680 | int hci_remove_ltk(struct hci_dev *hdev, bdaddr_t *bdaddr); |