diff options
author | Martin Kaiser <martin@kaiser.cx> | 2022-10-23 19:08:04 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-10-25 19:22:51 +0200 |
commit | ec6d91016437fe8e5fdcb8cc60c14887e588998f (patch) | |
tree | cfebfcb9f86e6b4ae67c05d16181d06a1c442ad8 /drivers/staging/r8188eu/include/wifi.h | |
parent | 8d5c6a1df1204280354bfb59316fd056e978a864 (diff) | |
download | linux-ec6d91016437fe8e5fdcb8cc60c14887e588998f.tar.bz2 |
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>
Diffstat (limited to 'drivers/staging/r8188eu/include/wifi.h')
-rw-r--r-- | drivers/staging/r8188eu/include/wifi.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/r8188eu/include/wifi.h b/drivers/staging/r8188eu/include/wifi.h index 381385a7e118..fdb7c1bf3573 100644 --- a/drivers/staging/r8188eu/include/wifi.h +++ b/drivers/staging/r8188eu/include/wifi.h @@ -236,11 +236,6 @@ enum WIFI_REG_DOMAIN { #define GetAddr4Ptr(pbuf) ((unsigned char *)((size_t)(pbuf) + 24)) -static inline bool IS_MCAST(unsigned char *da) -{ - return (*da) & 0x01; -} - static inline unsigned char *get_da(unsigned char *pframe) { unsigned char *da; |