commit | 1f350c8724881fe6b1be9aa68d1e49508a6f8ab9 | [log] [tgz] |
---|---|---|
author | Marcel Holtmann <marcel@holtmann.org> | Mon Mar 12 20:31:08 2012 -0700 |
committer | Gustavo Padovan <gustavo@padovan.org> | Wed May 09 00:41:32 2012 -0300 |
tree | 20d6af5d3e05bcb8c3a15d57010cdf5093c638ff | |
parent | 1036b89042df96e71c0cb941be212f8053ecccc0 [diff] |
Bluetooth: Fix broken usage of get_unaligned_le16 In case the struct is already __packed, there is no need to use unaligned access to the data. So just use __le16_to_cpu in these cases. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>