Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/os_dep/linux/os_intfs.c b/os_dep/linux/os_intfs.c
- index 5d54f4b..86c33b1 100755
- --- a/os_dep/linux/os_intfs.c
- +++ b/os_dep/linux/os_intfs.c
- @@ -1028,9 +1028,9 @@ 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))
- +/*#if (LINUX_VERSION_CODE>=KERNEL_VERSION(2,6,35))
- .ndo_select_queue = rtw_select_queue,
- -#endif
- +#endif*/
- .ndo_set_mac_address = rtw_net_set_mac_address,
- .ndo_get_stats = rtw_net_get_stats,
- .ndo_do_ioctl = rtw_ioctl,
- @@ -1781,9 +1781,9 @@ static const struct net_device_ops rtw_netdev_vir_if_ops = {
- .ndo_set_mac_address = rtw_net_set_mac_address,
- .ndo_get_stats = rtw_net_get_stats,
- .ndo_do_ioctl = rtw_ioctl,
- -#if (LINUX_VERSION_CODE>=KERNEL_VERSION(2,6,35))
- +/*#if (LINUX_VERSION_CODE>=KERNEL_VERSION(2,6,35))
- .ndo_select_queue = rtw_select_queue,
- -#endif
- +#endif*/
- };
- #endif
- @@ -2156,9 +2156,9 @@ static const struct net_device_ops rtw_netdev_if2_ops = {
- .ndo_set_mac_address = rtw_net_set_mac_address,
- .ndo_get_stats = rtw_net_get_stats,
- .ndo_do_ioctl = rtw_ioctl,
- -#if (LINUX_VERSION_CODE>=KERNEL_VERSION(2,6,35))
- +/*#if (LINUX_VERSION_CODE>=KERNEL_VERSION(2,6,35))
- .ndo_select_queue = rtw_select_queue,
- -#endif
- +#endif*/
- };
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement