aircrack-ng / rtl8812au

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

Implicit Function Declaration of "cfg80211_connect_bss" when compiling for Android Kernel #1154

Open realmarkoprifti opened 1 month ago

realmarkoprifti commented 1 month ago

Hi There

I recently purchased a Huawei phone and decided to compile a custom kernel for it to run Kali Nethunter. However, when compiling the kernel, this error throws up:

/drivers/rtl8812au/os_dep/linux/ioctl_cfg80211.c:1205:25: error: implicit declaration of function ‘cfg80211_connect_bss’ [-Werror=implicit-function-declaration] cfg80211_connect_bss(wdev_to_ndev(pwdev), cur_network->network.MacAddress, bss

If needed, ask any question that might help you figure out the solution for my current situation.

Thank you!