From: Andrei Emeltchenko Date: Fri, 9 Mar 2012 09:46:49 +0000 (+0200) Subject: Bluetooth: Correct type for hdev lmp_subver X-Git-Tag: next-20120402~35^2~55 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0322d88892c92d698716958271f6d46ffca620e3;p=karo-tx-linux.git Bluetooth: Correct type for hdev lmp_subver Keep lmp_subver in host byte order. We have following conversion in hci_cc_read_local_version: hdev->lmp_subver = __le16_to_cpu(rp->lmp_subver); Signed-off-by: Andrei Emeltchenko Signed-off-by: Gustavo F. Padovan --- diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h index daefaac51131..37356f0dcccd 100644 --- a/include/net/bluetooth/hci_core.h +++ b/include/net/bluetooth/hci_core.h @@ -155,7 +155,7 @@ struct hci_dev { __u16 hci_rev; __u8 lmp_ver; __u16 manufacturer; - __le16 lmp_subver; + __u16 lmp_subver; __u16 voice_setting; __u8 io_capability;