staging: r8188eu: use ether_addr_copy() in rtw_macaddr_cfg()
authorMichael Straube <straube.linux@gmail.com>
Mon, 30 Aug 2021 12:15:06 +0000 (14:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Sep 2021 06:49:46 +0000 (08:49 +0200)
commit98119aa4c75e94ac23c7f0f2a8f5b8904ad28b6a
treed877de134d6b396dd37fc8aee1c0428a124b9b93
parent0929d1ef2ef55635a6a3a5795ec642da14e78d6b
staging: r8188eu: use ether_addr_copy() in rtw_macaddr_cfg()

Use ether_addr_copy() in rtw_macaddr_cfg() to copy the mac address.
The buffers are properly aligned.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210830121508.6411-7-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_ieee80211.c