Commit ccc103f5 authored by Krzysztof Adamski's avatar Krzysztof Adamski Committed by Greg Kroah-Hartman
Browse files

staging: vt6656: Use ether_addr_copy() in vnt_fill_ieee80211_rts.



Both struct ieee80211_rts and struct ieee80211_hdr defined in
linux/ieee80211.h are declared as __aligned(2) so it is safe to use
ether_addr_copy() instead of memcpy().

Signed-off-by: default avatarKrzysztof Adamski <k@japko.eu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b7c9cd45
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment