summaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-20 09:48:01 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-20 12:41:28 +0300
commit1b4c0f3bbdbd5e5cc09b67b2977d52350967cdfd (patch)
treec5d6fd7c34c2986859abe4a33a7da7b6aa41aad5 /drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c
parent7ca8d993d070582a65b01b2fa926ff59fd30635d (diff)
downloadlinux-1b4c0f3bbdbd5e5cc09b67b2977d52350967cdfd.tar.xz
staging: rtl8723bs: rename get_ra() due to global symbol collision
Turns out that powerpc already has a get_ra() function, which conflicts with this staging driver's inlined function (which is just picking a byte out of an array for some odd reason), so rename it to fix the powerpc build as that's the more important thing here. Reported-by: Christophe Leroy <christophe.leroy@csgroup.eu> Link: https://lore.kernel.org/r/20210520064801.1961972-1-gregkh@linuxfoundation.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c')
-rw-r--r--drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c b/drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c
index 7c2680b6508c..ad803ffc0696 100644
--- a/drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c
+++ b/drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c
@@ -108,7 +108,7 @@ static void update_recvframe_phyinfo(union recv_frame *precvframe,
!pattrib->icv_err && !pattrib->crc_err &&
ether_addr_equal(rx_bssid, my_bssid));
- rx_ra = get_ra(wlanhdr);
+ rx_ra = rtl8723bs_get_ra(wlanhdr);
my_hwaddr = myid(&padapter->eeprompriv);
pkt_info.to_self = pkt_info.bssid_match &&
ether_addr_equal(rx_ra, my_hwaddr);