5_100_82_112.patch 497 B

123456789101112131415
  1. diff -urN orig/src/wl/sys/wl_linux.c new/src/wl/sys/wl_linux.c
  2. --- orig/src/wl/sys/wl_linux.c 2011-10-23 01:55:54.000000000 +0900
  3. +++ new/src/wl/sys/wl_linux.c 2012-05-01 20:08:43.937977896 +0900
  4. @@ -385,7 +385,11 @@
  5. #endif
  6. .ndo_get_stats = wl_get_stats,
  7. .ndo_set_mac_address = wl_set_mac_address,
  8. +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 2, 0)
  9. + .ndo_set_rx_mode = wl_set_multicast_list,
  10. +#else
  11. .ndo_set_multicast_list = wl_set_multicast_list,
  12. +#endif
  13. .ndo_do_ioctl = wl_ioctl
  14. };