ath10k: prefer ether_addr_copy() over memcpy()
authorKalle Valo <kvalo@qca.qualcomm.com>
Wed, 13 Apr 2016 11:14:02 +0000 (14:14 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 14 Apr 2016 14:30:55 +0000 (17:30 +0300)
commit8f4ffb7de9630065040e8142d651708e85eeb863
treed4578a2fbf13f1af48d9410464cdb7c352f16342
parentc178da58c7aa73d1442ce10cc61df41224115d19
ath10k: prefer ether_addr_copy() over memcpy()

Fixes checkpatch warning:

drivers/net/wireless/ath/ath10k/wmi.c:5800: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2)

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/wmi.c