staging: r8188eu: use standard multicast addr check
authorMartin Kaiser <martin@kaiser.cx>
Sun, 23 Oct 2022 17:08:04 +0000 (19:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Oct 2022 17:22:51 +0000 (19:22 +0200)
commitec6d91016437fe8e5fdcb8cc60c14887e588998f
treecfebfcb9f86e6b4ae67c05d16181d06a1c442ad8
parent8d5c6a1df1204280354bfb59316fd056e978a864
staging: r8188eu: use standard multicast addr check

Use is_multicast_ether_addr to check for a multicast address instead of
reimplementing this check in the driver.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150
Link: https://lore.kernel.org/r/20221023170808.46233-2-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_sta_mgt.c
drivers/staging/r8188eu/include/wifi.h