commit | 061ef8f915988839b12460c47ebfcf3700e124f0 | [log] [tgz] |
---|---|---|
author | Alexander Aring <alex.aring@gmail.com> | Mon Oct 27 17:13:28 2014 +0100 |
committer | Marcel Holtmann <marcel@holtmann.org> | Mon Oct 27 18:07:36 2014 +0100 |
tree | d0be975ce42d506ead60ad00e6b8a60bf2dcad64 | |
parent | 01141234f237957ec962dda2f1ca89d9ef180884 [diff] |
mac802154: tx: use put_unaligned_le16 for copy crc This patch replaces the memcpy with a put_unaligned_le16. The placement of crc inside of PSDU can also be unaligned. With memcpy this can fail on some architectures. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Reported-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>