aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches/312-erpupdate.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-06-01 03:01:58 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-06-01 03:01:58 +0000
commita91f7dcfd824d920378d2034f97cb2e06274226d (patch)
tree142c36f37e0f42439a540dcf785bc72e05d31165 /package/madwifi/patches/312-erpupdate.patch
parentc05f60e0d0c4f57b99e21982f4bff5d385d073d0 (diff)
downloadupstream-a91f7dcfd824d920378d2034f97cb2e06274226d.tar.gz
upstream-a91f7dcfd824d920378d2034f97cb2e06274226d.tar.bz2
upstream-a91f7dcfd824d920378d2034f97cb2e06274226d.zip
madwifi: refresh patches
SVN-Revision: 11316
Diffstat (limited to 'package/madwifi/patches/312-erpupdate.patch')
-rw-r--r--package/madwifi/patches/312-erpupdate.patch18
1 files changed, 9 insertions, 9 deletions
diff --git a/package/madwifi/patches/312-erpupdate.patch b/package/madwifi/patches/312-erpupdate.patch
index 158911bf3c..2af36af264 100644
--- a/package/madwifi/patches/312-erpupdate.patch
+++ b/package/madwifi/patches/312-erpupdate.patch
@@ -1,7 +1,7 @@
Index: madwifi-trunk-r3314/net80211/ieee80211_beacon.c
===================================================================
---- madwifi-trunk-r3314.orig/net80211/ieee80211_beacon.c 2008-02-20 18:10:45.515108151 +0100
-+++ madwifi-trunk-r3314/net80211/ieee80211_beacon.c 2008-02-20 18:10:50.491391734 +0100
+--- madwifi-trunk-r3314.orig/net80211/ieee80211_beacon.c
++++ madwifi-trunk-r3314/net80211/ieee80211_beacon.c
@@ -542,10 +542,10 @@
vap->iv_flags &= ~IEEE80211_F_XRUPDATE;
}
@@ -17,8 +17,8 @@ Index: madwifi-trunk-r3314/net80211/ieee80211_beacon.c
/* if it is a mode change beacon for dynamic turbo case */
Index: madwifi-trunk-r3314/net80211/ieee80211_input.c
===================================================================
---- madwifi-trunk-r3314.orig/net80211/ieee80211_input.c 2008-02-20 18:10:49.723347963 +0100
-+++ madwifi-trunk-r3314/net80211/ieee80211_input.c 2008-02-20 18:10:50.495391960 +0100
+--- madwifi-trunk-r3314.orig/net80211/ieee80211_input.c
++++ madwifi-trunk-r3314/net80211/ieee80211_input.c
@@ -3431,9 +3431,12 @@
/* Assume no ERP IE == 11b AP */
if ((!has_erp || (has_erp && (scan.erp & IEEE80211_ERP_NON_ERP_PRESENT))) &&
@@ -35,9 +35,9 @@ Index: madwifi-trunk-r3314/net80211/ieee80211_input.c
Index: madwifi-trunk-r3314/net80211/ieee80211_node.c
===================================================================
---- madwifi-trunk-r3314.orig/net80211/ieee80211_node.c 2008-02-20 18:10:49.727348192 +0100
-+++ madwifi-trunk-r3314/net80211/ieee80211_node.c 2008-02-20 18:10:50.507392644 +0100
-@@ -2022,8 +2022,12 @@
+--- madwifi-trunk-r3314.orig/net80211/ieee80211_node.c
++++ madwifi-trunk-r3314/net80211/ieee80211_node.c
+@@ -2025,8 +2025,12 @@
}
/* Update ERP element if this is first non ERP station */
@@ -52,7 +52,7 @@ Index: madwifi-trunk-r3314/net80211/ieee80211_node.c
} else
ni->ni_flags |= IEEE80211_NODE_ERP;
}
-@@ -2226,6 +2230,8 @@
+@@ -2229,6 +2233,8 @@
IEEE80211_NOTE(vap, IEEE80211_MSG_ASSOC, ni,
"non-ERP station leaves, count now %d", ic->ic_nonerpsta);
if (ic->ic_nonerpsta == 0) {
@@ -61,7 +61,7 @@ Index: madwifi-trunk-r3314/net80211/ieee80211_node.c
IEEE80211_DPRINTF(vap, IEEE80211_MSG_ASSOC,
"%s: disable use of protection\n", __func__);
ic->ic_flags &= ~IEEE80211_F_USEPROT;
-@@ -2237,7 +2243,9 @@
+@@ -2240,7 +2246,9 @@
ic->ic_flags |= IEEE80211_F_SHPREAMBLE;
ic->ic_flags &= ~IEEE80211_F_USEBARKER;
}