staging: rtl8712: Use ETH_ALEN instead of hardcoded value
authorMauro Dreissig <mukadr@gmail.com>
Sun, 5 Jul 2020 14:35:50 +0000 (11:35 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Jul 2020 11:53:59 +0000 (13:53 +0200)
commitf1c9ea1acf58f22f6e7c664f229e72d2a0c9bdea
treea41e9b6e26c7275d327b83d623d0d868316ac1f9
parent4e4a6b7c18ef21abe8771f131c1ef80655769adb
staging: rtl8712: Use ETH_ALEN instead of hardcoded value

Use macro ETH_ALEN which defines the number of octets in
an ethernet address.

Signed-off-by: Mauro Dreissig <mukadr@gmail.com>
Link: https://lore.kernel.org/r/20200705143552.9368-4-mukadr@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/hal_init.c