diff options
author | Michael Straube <[email protected]> | 2021-08-23 14:01:06 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-08-26 12:23:13 +0200 |
commit | bd5f258affb124a5bd9d3be94628951b0a8a14c6 (patch) | |
tree | bc658b434a6efff7f2ff0670c6302cd44afaa6bb | |
parent | 0b704920fba990ad6d0e731f315c71a2422d02cb (diff) |
staging: r8188eu: use is_multicast_ether_addr in os_dep/recv_linux.c
Use is_multicast_ether_addr instead of custom macro IS_MCAST, the
buffer is properly aligned.
Acked-by: Phillip Potter <[email protected]>
Signed-off-by: Michael Straube <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r-- | drivers/staging/r8188eu/os_dep/recv_linux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/r8188eu/os_dep/recv_linux.c b/drivers/staging/r8188eu/os_dep/recv_linux.c index b4c5333bfff0..dd3113b6d4f3 100644 --- a/drivers/staging/r8188eu/os_dep/recv_linux.c +++ b/drivers/staging/r8188eu/os_dep/recv_linux.c @@ -132,7 +132,7 @@ int rtw_recv_indicatepkt(struct adapter *padapter, struct sta_info *psta = NULL; struct sta_priv *pstapriv = &padapter->stapriv; struct rx_pkt_attrib *pattrib = &precv_frame->attrib; - int bmcast = IS_MCAST(pattrib->dst); + bool bmcast = is_multicast_ether_addr(pattrib->dst); if (memcmp(pattrib->dst, myid(&padapter->eeprompriv), ETH_ALEN)) { |