aircrack-ng / rtl8812au

RTL8812AU/21AU and RTL8814AU driver with monitor mode and frame injection
GNU General Public License v2.0
3.4k stars 750 forks source link

Fix build failure on PowerPC64 #1054

Closed giuliobenetti closed 1 year ago

giuliobenetti commented 1 year ago

get_ra() is defined in Linux kernel for PowerPC64 architecture and it conflicts with local get_ra() definition so let's rename local definition as rtl_get_ra().

giuliobenetti commented 1 year ago

Hello,

this patch is applied locally to Buildroot since March 14th and autobuilders don't fail to build anymore with PowerPC64: https://gitlab.com/buildroot.org/buildroot/-/commit/d3051892eba100441f6900b6b435ae935f103fff

This is the build failure: http://autobuild.buildroot.net/results/8c5/8c51009fa32947b2c1cda8f9862507df8da126db/

This approach has been adopted for many rtl drivers too and merged upstream. So can you please merge this PR so I can bump this package version in Buildroot and drop local patch?

Thanks in advance

kimocoder commented 1 year ago

This issue, PowerPC (PPC) support is fixed.