staging: rtl8188eu: Fix prefer ether_addr_copy() over memcpy()
authorEbru Akagunduz <ebru.akagunduz@gmail.com>
Fri, 3 Oct 2014 10:08:21 +0000 (13:08 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Oct 2014 02:29:12 +0000 (10:29 +0800)
commit6d36fe3edc99165c8d1be60445b807a613d2c918
treeecbc3c9cb8c016cec9ad43fa6ff049e4bba28d8e
parentf9800f82b6c403d4ba595383859030360b67dae0
staging: rtl8188eu: Fix prefer ether_addr_copy() over memcpy()

This patch fixes "Prefer ether_addr_copy() over memcpy()
if the Ethernet addresses are __aligned(2)" in rtw_ap.c
Pahole showed that the addresses are aligned.

Signed-off-by: Ebru Akagunduz <ebru.akagunduz@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_ap.c