summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/hci_core.c
diff options
context:
space:
mode:
authorAndrei Emeltchenko2012-03-09 11:12:12 +0100
committerGustavo Padovan2012-05-09 05:41:29 +0200
commit9a0066579270584108f1f2f97d98fe989d8117df (patch)
treeaaa0f4ad4bcd1e88f1029011c2662d714ae76a29 /net/bluetooth/hci_core.c
parentBluetooth: Correct type for hdev lmp_subver (diff)
downloadkernel-qcow2-linux-9a0066579270584108f1f2f97d98fe989d8117df.tar.gz
kernel-qcow2-linux-9a0066579270584108f1f2f97d98fe989d8117df.tar.xz
kernel-qcow2-linux-9a0066579270584108f1f2f97d98fe989d8117df.zip
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 'net/bluetooth/hci_core.c')
-rw-r--r--net/bluetooth/hci_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c
index edfd61addcec..af55ea1b6882 100644
--- a/net/bluetooth/hci_core.c
+++ b/net/bluetooth/hci_core.c
@@ -1336,7 +1336,7 @@ int hci_add_link_key(struct hci_dev *hdev, struct hci_conn *conn, int new_key,
}
int hci_add_ltk(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 addr_type, u8 type,
- int new_key, u8 authenticated, u8 tk[16], u8 enc_size, u16
+ int new_key, u8 authenticated, u8 tk[16], u8 enc_size, __le16
ediv, u8 rand[8])
{
struct smp_ltk *key, *old_key;