diff options
| author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-01-25 23:09:13 +0000 |
|---|---|---|
| committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-01-25 23:09:13 +0000 |
| commit | 29dbf43bdb18ecc6b4e3df180114ef03e67a22e7 (patch) | |
| tree | f2f608c07e3f14f9acd9f3d0504e5b112408a812 /package/madwifi/patches/313-long_preamble.patch | |
| parent | 410d80b0c87de11d3f70b012b8168b8b00a76f3a (diff) | |
add some random madwifi fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10260 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/patches/313-long_preamble.patch')
| -rw-r--r-- | package/madwifi/patches/313-long_preamble.patch | 13 |
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 000000000..1f3515036 --- /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; |
