Need help compiling WiFi kernel module

Hi, I've ported Kali Nethunter on CM13 for Galaxy a5
I've added the injection patch, the HID patch, and the cdrom patch for drivedroid, but I can't get wifi working
I've made all modules wit: "make CFLAGS_MODULE=-fno-pic modules" and added the modules to /system/lib/modules, but when I type in terminal emulator: "insmod /system/lib/modules/wlan.ko" I get the following error: "insmod: failed to load /system/lib/modules/wlan.ko: Exec format error".
What I did wrong?
PS: sorry for my bad english, btu google translate doesn't always translate well

Show Accepted Answer

Guest Quick Reply (No URL, BBcode or HTML)

Last post by josephine39
57 minutes ago
Last post by jailyn.hackett
2 hours ago
Last post by yernser
45 minutes ago
Last post by cole.claudie
1 hour ago
Last post by anibal.kunde
1 hour ago
Last post by lhagenes
18 minutes ago
Last post by arianna90
3 hours ago
Last post by betty.fritsch
2 hours ago
Last post by ejacobs
4 hours ago
Last post by arlene64
2 hours ago