summaryrefslogtreecommitdiff
path: root/package/broadcom-wl/patches/009-fix_compile_3_2.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-06-21 16:54:37 +0000
committerJohn Crispin <john@openwrt.org>2013-06-21 16:54:37 +0000
commit4ebf19b48fafc8d94e14e4ba779969613b241a6a (patch)
tree9918f890a8915023b49ea30948beb5d048c333fa /package/broadcom-wl/patches/009-fix_compile_3_2.patch
parent44b1688e6c7b4f16f7165fbd560e1183aef69090 (diff)
downloadmtk-20170518-4ebf19b48fafc8d94e14e4ba779969613b241a6a.zip
mtk-20170518-4ebf19b48fafc8d94e14e4ba779969613b241a6a.tar.gz
mtk-20170518-4ebf19b48fafc8d94e14e4ba779969613b241a6a.tar.bz2
packages: clean up the package folder
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37007
Diffstat (limited to 'package/broadcom-wl/patches/009-fix_compile_3_2.patch')
-rw-r--r--package/broadcom-wl/patches/009-fix_compile_3_2.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/package/broadcom-wl/patches/009-fix_compile_3_2.patch b/package/broadcom-wl/patches/009-fix_compile_3_2.patch
deleted file mode 100644
index 628f2fd..0000000
--- a/package/broadcom-wl/patches/009-fix_compile_3_2.patch
+++ /dev/null
@@ -1,27 +0,0 @@
---- a/driver/wl_linux.c
-+++ b/driver/wl_linux.c
-@@ -462,6 +462,16 @@ wl_schedule_fn(wl_info_t *wl, void (*fn)
- }
- #endif /* DSLCPE_DELAY */
-
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 2, 0)
-+#define WL_DEFAULT_OPS \
-+ .ndo_open = wl_open, \
-+ .ndo_stop = wl_close, \
-+ .ndo_start_xmit = wl_start, \
-+ .ndo_get_stats = wl_get_stats, \
-+ .ndo_set_mac_address = wl_set_mac_address, \
-+ .ndo_set_rx_mode = wl_set_multicast_list, \
-+ .ndo_do_ioctl = wl_ioctl
-+#else
- #define WL_DEFAULT_OPS \
- .ndo_open = wl_open, \
- .ndo_stop = wl_close, \
-@@ -470,6 +480,7 @@ wl_schedule_fn(wl_info_t *wl, void (*fn)
- .ndo_set_mac_address = wl_set_mac_address, \
- .ndo_set_multicast_list = wl_set_multicast_list, \
- .ndo_do_ioctl = wl_ioctl
-+#endif
-
- static const struct net_device_ops wl_ops = {
- WL_DEFAULT_OPS,