mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2026-04-02 07:29:56 +00:00
Use is_multicast_ether_addr instead of custom macro IS_MCAST, the
buffer is properly aligned. Link: https://lore.kernel.org/r/20210823120106.9633-3-straube.linux@gmail.com Link: https://lore.kernel.org/r/20210823120106.9633-4-straube.linux@gmail.com Link: https://lore.kernel.org/r/20210823120106.9633-5-straube.linux@gmail.com Link: https://lore.kernel.org/r/20210823120106.9633-6-straube.linux@gmail.com Link: https://lore.kernel.org/r/20210823120106.9633-7-straube.linux@gmail.com Link: https://lore.kernel.org/r/20210823120106.9633-8-straube.linux@gmail.com Link: https://lore.kernel.org/r/20210823120106.9633-9-straube.linux@gmail.com
This commit is contained in:
committed by
Carlos Garces
parent
3cfc5c26b4
commit
60aa279428
@@ -11447,7 +11447,7 @@ static struct xmit_frame *createloopbackpkt(PADAPTER padapter, u32 size)
|
||||
struct tx_desc *desc;
|
||||
u8 *pkt_start, *pkt_end, *ptr;
|
||||
struct rtw_ieee80211_hdr *hdr;
|
||||
s32 bmcast;
|
||||
bool bmcast;
|
||||
_irqL irqL;
|
||||
|
||||
|
||||
@@ -11502,7 +11502,7 @@ static struct xmit_frame *createloopbackpkt(PADAPTER padapter, u32 size)
|
||||
pattrib->bswenc = _FALSE;
|
||||
pattrib->qos_en = _FALSE;
|
||||
|
||||
bmcast = IS_MCAST(pattrib->ra);
|
||||
bmcast = is_multicast_ether_addr(pattrib->ra);
|
||||
if (bmcast)
|
||||
pattrib->psta = rtw_get_bcmc_stainfo(padapter);
|
||||
else
|
||||
|
||||
@@ -442,7 +442,7 @@ void rtw_os_recv_indicate_pkt(_adapter *padapter, _pkt *pkt, union recv_frame *r
|
||||
_pkt *pskb2 = NULL;
|
||||
struct sta_info *psta = NULL;
|
||||
struct sta_priv *pstapriv = &padapter->stapriv;
|
||||
int bmcast = IS_MCAST(ehdr->h_dest);
|
||||
bool bmcast = is_multicast_ether_addr(ehdr->h_dest);
|
||||
|
||||
/* RTW_INFO("bmcast=%d\n", bmcast); */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user