staging: rtl8723bs: use ether_addr_copy() in rtw_macaddr_cfg()
authorMichael Straube <straube.linux@gmail.com>
Wed, 27 Jun 2018 17:36:48 +0000 (19:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Jun 2018 13:46:01 +0000 (22:46 +0900)
commit9579ba6e5d4f2e823a16f0f99ba755cb345c3605
treeb3dcf4d467f0d54de787858df1618a894be578f7
parent375a2bd2758395ecf8aed01ea264953afede6a4f
staging: rtl8723bs: use ether_addr_copy() in rtw_macaddr_cfg()

Use ether_addr_copy() instead of memcpy() to copy the mac address.

Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_ieee80211.c