summaryrefslogtreecommitdiffstats
path: root/package/mac80211/files
diff options
context:
space:
mode:
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-08-06 17:07:42 +0000
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-08-06 17:07:42 +0000
commit61d9ee9aa74dbfcd85f4d602658ad2c1438d3b84 (patch)
tree055c99ddb7063709b774c9a93a855cc269e4ca52 /package/mac80211/files
parentf20076467a4a063b9116dbef475443ea230d03ae (diff)
mac80211: always store broadcom firmware in b43 and b43legacy dir
This is always used to build a firmware for linux systems also if we are on freebsd. This is one patch from #9897 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27926 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/files')
-rw-r--r--package/mac80211/files/b43-fwcutter-fw-dirname.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/mac80211/files/b43-fwcutter-fw-dirname.patch b/package/mac80211/files/b43-fwcutter-fw-dirname.patch
new file mode 100644
index 000000000..c2f49ab78
--- /dev/null
+++ b/package/mac80211/files/b43-fwcutter-fw-dirname.patch
@@ -0,0 +1,16 @@
+--- a/fwcutter.c
++++ b/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;
+