summaryrefslogtreecommitdiff
path: root/tools/b43-tools/patches/001-fw-dirname.patch
diff options
context:
space:
mode:
Diffstat (limited to 'tools/b43-tools/patches/001-fw-dirname.patch')
-rw-r--r--tools/b43-tools/patches/001-fw-dirname.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/b43-tools/patches/001-fw-dirname.patch b/tools/b43-tools/patches/001-fw-dirname.patch
new file mode 100644
index 0000000000..e9bd03249f
--- /dev/null
+++ b/tools/b43-tools/patches/001-fw-dirname.patch
@@ -0,0 +1,16 @@
+--- a/fwcutter/fwcutter.c
++++ b/fwcutter/fwcutter.c
+@@ -48,13 +48,8 @@
+ #include "fwcutter.h"
+ #include "fwcutter_list.h"
+
+-#if defined(__DragonFly__) || defined(__FreeBSD__)
+-#define V3_FW_DIRNAME "v3"
+-#define V4_FW_DIRNAME "v4"
+-#else
+ #define V3_FW_DIRNAME "b43legacy"
+ #define V4_FW_DIRNAME "b43"
+-#endif
+
+ static struct cmdline_args cmdargs;
+