mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-17 18:43:05 +00:00
rtl8188eu: Change get_ra() to wifi_get_ra()
Author: Giulio Benetti giulio.benetti@benettiengineering.com In PowerPc Linux only get_ra() exists[0] and conflicts with local get_ra() that has a completely different purpose. So let's rename local get_ra() to wifi_get_ra() to make it different from Linux's get_ra(). [0]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/powerpc/include/asm/disassemble.h?h=v6.1-rc7#n49 Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com> Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
208f2ccb65
commit
7245a6982d
3 changed files with 7 additions and 7 deletions
|
@ -4040,10 +4040,10 @@ void rx_query_phy_status(
|
|||
&& !memcmp(get_hdr_bssid(wlanhdr), get_bssid(&padapter->mlmepriv), ETH_ALEN);
|
||||
|
||||
pkt_info.is_to_self = (!pattrib->icv_err) && (!pattrib->crc_err)
|
||||
&& !memcmp(get_ra(wlanhdr), adapter_mac_addr(padapter), ETH_ALEN);
|
||||
&& !memcmp(wifi_get_ra(wlanhdr), adapter_mac_addr(padapter), ETH_ALEN);
|
||||
|
||||
pkt_info.is_packet_to_self = pkt_info.is_packet_match_bssid
|
||||
&& !memcmp(get_ra(wlanhdr), adapter_mac_addr(padapter), ETH_ALEN);
|
||||
&& !memcmp(wifi_get_ra(wlanhdr), adapter_mac_addr(padapter), ETH_ALEN);
|
||||
|
||||
pkt_info.is_packet_beacon = pkt_info.is_packet_match_bssid
|
||||
&& (get_frame_sub_type(wlanhdr) == WIFI_BEACON);
|
||||
|
@ -4129,7 +4129,7 @@ s32 pre_recv_entry(union recv_frame *precvframe, u8 *pphy_status)
|
|||
_adapter *iface = NULL;
|
||||
_adapter *primary_padapter = precvframe->u.hdr.adapter;
|
||||
|
||||
pda = get_ra(pbuf);
|
||||
pda = wifi_get_ra(pbuf);
|
||||
|
||||
if (IS_MCAST(pda) == false) { /*unicast packets*/
|
||||
iface = rtw_get_iface_by_macddr(primary_padapter , pda);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue