staging: r8188eu: use ether_addr_equal in OnAction
authorMartin Kaiser <martin@kaiser.cx>
Mon, 31 Oct 2022 20:51:41 +0000 (21:51 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 Nov 2022 07:17:47 +0000 (08:17 +0100)
commita653e32aaddb11cc4f159558c4cf7dfa2c5a0222
treebbbf67e5346507c26344febcf5ffefd76616c37a
parent3032eb4690d5d5bac28d0e92cc501962a42ca4be
staging: r8188eu: use ether_addr_equal in OnAction

Use ether_addr_equal to compare two mac addresses in OnAction.

Both struct ieee80211_mgmt and struct eeprom_priv's mac_addr component
are 2-byte aligned.

Suggested-by: Joe Perches <joe@perches.com>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20221031205140.124682-1-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_mlme_ext.c