commit | eb55ef07a211eea95088eb0e6cdbd53cd65d9755 | [log] [tgz] |
---|---|---|
author | Marcel Holtmann <marcel@holtmann.org> | Wed Mar 14 18:08:46 2012 +0200 |
committer | Gustavo Padovan <gustavo@padovan.org> | Wed May 09 00:41:30 2012 -0300 |
tree | 4f6fac717c3e12a54b92196276a308006a33167b | |
parent | cdbaccca733c9dde3faf150150102dade311c91f [diff] |
Bluetooth: Fix broken usage of put_unaligned_le16 In case the struct is already __packed, there is no need to use unaligned access to the data. So just use cpu_to_le16 or __constant_cpu_to_le16 in these cases. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>