staging: ks7010: use ether_addr_copy in get_current_ap
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Fri, 4 May 2018 04:16:25 +0000 (06:16 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 May 2018 01:58:38 +0000 (18:58 -0700)
commit76b91c6f9e57ef318243ecdd4612d7856b8d12a5
tree872db8ee165ed459c1e26e9f48340d234492fb05
parent8ce76bff0e6a2cbdaa8e52cd34648c8bbc1b8039
staging: ks7010: use ether_addr_copy in get_current_ap

Instead of use memcpy to copy ethernet addresses use
ether_addr_copy created for that.

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