Closed agats closed 5 years ago
I was able to get the project to build after making these changes.
diff --git a/os_dep/os_intfs.c b/os_dep/os_intfs.c
index 44cd53b..750ffba 100644
--- a/os_dep/os_intfs.c
+++ b/os_dep/os_intfs.c
@@ -695,9 +695,6 @@ static const struct net_device_ops rtw_netdev_ops = {
.ndo_open = netdev_open,
.ndo_stop = netdev_close,
.ndo_start_xmit = rtw_xmit_entry,
-#if (LINUX_VERSION_CODE>=KERNEL_VERSION(2,6,35))
- .ndo_select_queue = rtw_select_queue,
-#endif
.ndo_set_mac_address = rtw_net_set_mac_address,
.ndo_get_stats = rtw_net_get_stats,
.ndo_do_ioctl = rtw_ioctl,
It is generally not advised to remove features just to get the code to build.
I just pushed a better fix. :)
Thanks @lwfinger, I agree with
It is generally not advised to remove features just to get the code to build. I just really needed my laptop to work. And thank you for the quick and proper fix!
First time trying to build this, but I am getting the following error when running
make
.The full log is below