summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-03-14 17:08:46 +0100
committerGustavo Padovan <gustavo@padovan.org>2012-05-09 05:41:30 +0200
commiteb55ef07a211eea95088eb0e6cdbd53cd65d9755 (patch)
tree4f6fac717c3e12a54b92196276a308006a33167b /include/net
parentBluetooth: Add management command for setting Device ID (diff)
downloadlinux-eb55ef07a211eea95088eb0e6cdbd53cd65d9755.tar.xz
linux-eb55ef07a211eea95088eb0e6cdbd53cd65d9755.zip
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>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions