aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches/313-long_preamble.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-01-25 23:09:13 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-01-25 23:09:13 +0000
commit929767622f857b2371ca8f9a8b2e989dc0aa7a80 (patch)
tree5828921a8f3125608f1db0e5b3b3758a87c90aca /package/madwifi/patches/313-long_preamble.patch
parent1fb5433154f637fce9803dd0ff603580c8c69af1 (diff)
downloadupstream-929767622f857b2371ca8f9a8b2e989dc0aa7a80.tar.gz
upstream-929767622f857b2371ca8f9a8b2e989dc0aa7a80.tar.bz2
upstream-929767622f857b2371ca8f9a8b2e989dc0aa7a80.zip
add some random madwifi fixes
SVN-Revision: 10260
Diffstat (limited to 'package/madwifi/patches/313-long_preamble.patch')
-rw-r--r--package/madwifi/patches/313-long_preamble.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/madwifi/patches/313-long_preamble.patch b/package/madwifi/patches/313-long_preamble.patch
new file mode 100644
index 0000000000..1f3515036c
--- /dev/null
+++ b/package/madwifi/patches/313-long_preamble.patch
@@ -0,0 +1,13 @@
+Index: madwifi-dfs-r3053/net80211/ieee80211_output.c
+===================================================================
+--- madwifi-dfs-r3053.orig/net80211/ieee80211_output.c 2008-01-10 15:40:39.777239675 +0100
++++ madwifi-dfs-r3053/net80211/ieee80211_output.c 2008-01-10 15:41:05.214689275 +0100
+@@ -1297,7 +1297,7 @@
+ erp |= IEEE80211_ERP_NON_ERP_PRESENT;
+ if (ic->ic_flags & IEEE80211_F_USEPROT)
+ erp |= IEEE80211_ERP_USE_PROTECTION;
+- if (ic->ic_flags & IEEE80211_F_USEBARKER)
++ if ((ic->ic_flags & IEEE80211_F_USEBARKER) || (ic->ic_nonerpsta > 0))
+ erp |= IEEE80211_ERP_LONG_PREAMBLE;
+ *frm++ = erp;
+ return frm;