staging: ks7010: use ether_addr_copy in ks_wlan_set_encode_ext
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Wed, 25 Apr 2018 14:01:47 +0000 (16:01 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Apr 2018 07:35:04 +0000 (09:35 +0200)
commitb8cbbc1261bed209e4ecbf5ba5fa0f4f684c7ad0
tree6331a011ed95e2116b84c502d5c5fa5955d0a67b
parent092f239e9f03b35705129082a4962e25f6c0965d
staging: ks7010: use ether_addr_copy in ks_wlan_set_encode_ext

Instead of manually memcpy ethernet addresses use ether_addr_copy
function for this purpose.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks_wlan_net.c