Bluetooth: Correct type for hdev lmp_subver
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Fri, 9 Mar 2012 09:46:49 +0000 (11:46 +0200)
committerGustavo Padovan <gustavo@padovan.org>
Wed, 9 May 2012 03:41:28 +0000 (00:41 -0300)
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 <andrei.emeltchenko@intel.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
include/net/bluetooth/hci_core.h

index db1c5df45224d1635d7de925c51e5cb585e5346a..53e8eb2f0a2e5b3db70a04b27ec2f0fd42b5b610 100644 (file)
@@ -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;