From: Marcel Holtmann Date: Wed, 14 Mar 2012 16:08:46 +0000 (+0200) Subject: Bluetooth: Fix broken usage of put_unaligned_le16 X-Git-Tag: v3.5-rc1~101^2~6^2^2^2~107 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb55ef07a211eea95088eb0e6cdbd53cd65d9755;p=pandora-kernel.git 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 Signed-off-by: Johan Hedberg --- Reading git-diff-tree failed