diff options
author | Alexander Aring <alex.aring@gmail.com> | 2014-10-27 17:13:28 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-10-27 18:07:36 +0100 |
commit | 061ef8f915988839b12460c47ebfcf3700e124f0 (patch) | |
tree | d0be975ce42d506ead60ad00e6b8a60bf2dcad64 /drivers/staging/bcm/IPv6Protocol.c | |
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>
Diffstat (limited to 'drivers/staging/bcm/IPv6Protocol.c')
0 files changed, 0 insertions, 0 deletions