staging: vt6656: Use ether_addr_copy() in vnt_fill_ieee80211_rts.
authorKrzysztof Adamski <k@japko.eu>
Mon, 8 Dec 2014 11:13:41 +0000 (12:13 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Jan 2015 03:38:40 +0000 (19:38 -0800)
commitccc103f564d992bb3260a9195980b26098384943
tree8924f2ed8d7c56c31a4459482d07c6bfa5b9c897
parentb7c9cd450baed139ed07c997071ec5b3164ee1c4
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: Krzysztof Adamski <k@japko.eu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/rxtx.c