Advertisement
Guest User

Untitled

a guest
May 20th, 2019
323
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.46 KB | None | 0 0
  1. diff --git a/os_dep/linux/os_intfs.c b/os_dep/linux/os_intfs.c
  2. index 5d54f4b..86c33b1 100755
  3. --- a/os_dep/linux/os_intfs.c
  4. +++ b/os_dep/linux/os_intfs.c
  5. @@ -1028,9 +1028,9 @@ static const struct net_device_ops rtw_netdev_ops = {
  6.         .ndo_open = netdev_open,
  7.         .ndo_stop = netdev_close,
  8.         .ndo_start_xmit = rtw_xmit_entry,
  9. -#if (LINUX_VERSION_CODE>=KERNEL_VERSION(2,6,35))
  10. +/*#if (LINUX_VERSION_CODE>=KERNEL_VERSION(2,6,35))
  11.         .ndo_select_queue       = rtw_select_queue,
  12. -#endif
  13. +#endif*/
  14.         .ndo_set_mac_address = rtw_net_set_mac_address,
  15.         .ndo_get_stats = rtw_net_get_stats,
  16.         .ndo_do_ioctl = rtw_ioctl,
  17. @@ -1781,9 +1781,9 @@ static const struct net_device_ops rtw_netdev_vir_if_ops = {
  18.          .ndo_set_mac_address = rtw_net_set_mac_address,
  19.          .ndo_get_stats = rtw_net_get_stats,
  20.          .ndo_do_ioctl = rtw_ioctl,
  21. -#if (LINUX_VERSION_CODE>=KERNEL_VERSION(2,6,35))
  22. +/*#if (LINUX_VERSION_CODE>=KERNEL_VERSION(2,6,35))
  23.         .ndo_select_queue       = rtw_select_queue,
  24. -#endif
  25. +#endif*/
  26.  };
  27.  #endif
  28.  
  29. @@ -2156,9 +2156,9 @@ static const struct net_device_ops rtw_netdev_if2_ops = {
  30.          .ndo_set_mac_address = rtw_net_set_mac_address,
  31.          .ndo_get_stats = rtw_net_get_stats,
  32.          .ndo_do_ioctl = rtw_ioctl,
  33. -#if (LINUX_VERSION_CODE>=KERNEL_VERSION(2,6,35))
  34. +/*#if (LINUX_VERSION_CODE>=KERNEL_VERSION(2,6,35))
  35.         .ndo_select_queue       = rtw_select_queue,
  36. -#endif
  37. +#endif*/
  38.  };
  39.  #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement