mirror of
https://github.com/amazingfate/rtl8723ds.git
synced 2026-01-27 13:23:12 +00:00
rtl8723ds: get_ra() exists only on PowerPC
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>
This commit is contained in:
@@ -455,7 +455,7 @@ __inline static int IS_MCAST(unsigned char *da)
|
||||
return _FALSE;
|
||||
}
|
||||
|
||||
__inline static unsigned char *get_ra(unsigned char *pframe)
|
||||
__inline static unsigned char *wifi_get_ra(unsigned char *pframe)
|
||||
{
|
||||
unsigned char *ra;
|
||||
ra = GetAddr1Ptr(pframe);
|
||||
|
||||
Reference in New Issue
Block a user