diff options
author | Alexander Aring <alex.aring@gmail.com> | 2014-10-27 16:13:28 (GMT) |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-10-27 17:07:36 (GMT) |
commit | 061ef8f915988839b12460c47ebfcf3700e124f0 (patch) | |
tree | d0be975ce42d506ead60ad00e6b8a60bf2dcad64 /drivers/net/ieee802154/mrf24j40.c | |
parent | 01141234f237957ec962dda2f1ca89d9ef180884 (diff) | |
download | linux-061ef8f915988839b12460c47ebfcf3700e124f0.tar.xz |
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>
Diffstat (limited to 'drivers/net/ieee802154/mrf24j40.c')
0 files changed, 0 insertions, 0 deletions