aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches/312-erpupdate.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-11-02 13:04:36 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-11-02 13:04:36 +0000
commitdec207d4eb4927112242da74afd1179d137fb1ad (patch)
tree78dcafe3c951ea7e417aca01bd04b6e59c83f025 /package/madwifi/patches/312-erpupdate.patch
parent891b476e67c64477aac32094a29f3345e742da45 (diff)
downloadupstream-dec207d4eb4927112242da74afd1179d137fb1ad.tar.gz
upstream-dec207d4eb4927112242da74afd1179d137fb1ad.tar.bz2
upstream-dec207d4eb4927112242da74afd1179d137fb1ad.zip
madwifi: fix noderef and state machine issues in the currently unused ap-to-ap wds mode; refresh patches
SVN-Revision: 13096
Diffstat (limited to 'package/madwifi/patches/312-erpupdate.patch')
-rw-r--r--package/madwifi/patches/312-erpupdate.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/package/madwifi/patches/312-erpupdate.patch b/package/madwifi/patches/312-erpupdate.patch
index b4befba5cb..34fae68dbd 100644
--- a/package/madwifi/patches/312-erpupdate.patch
+++ b/package/madwifi/patches/312-erpupdate.patch
@@ -1,6 +1,6 @@
--- a/net80211/ieee80211_beacon.c
+++ b/net80211/ieee80211_beacon.c
-@@ -542,10 +542,10 @@
+@@ -542,10 +542,10 @@ ieee80211_beacon_update(struct ieee80211
vap->iv_flags &= ~IEEE80211_F_XRUPDATE;
}
#endif
@@ -15,7 +15,7 @@
/* if it is a mode change beacon for dynamic turbo case */
--- a/net80211/ieee80211_input.c
+++ b/net80211/ieee80211_input.c
-@@ -3431,9 +3431,12 @@
+@@ -3431,9 +3431,12 @@ ieee80211_recv_mgmt(struct ieee80211vap
/* Assume no ERP IE == 11b AP */
if ((!has_erp || (has_erp && (scan.erp & IEEE80211_ERP_NON_ERP_PRESENT))) &&
!(ic->ic_flags & IEEE80211_F_USEPROT)) {
@@ -31,7 +31,7 @@
--- a/net80211/ieee80211_node.c
+++ b/net80211/ieee80211_node.c
-@@ -2025,8 +2025,12 @@
+@@ -2025,8 +2025,12 @@ ieee80211_node_join_11g(struct ieee80211
}
/* Update ERP element if this is first non ERP station */
@@ -46,7 +46,7 @@
} else
ni->ni_flags |= IEEE80211_NODE_ERP;
}
-@@ -2229,6 +2233,8 @@
+@@ -2229,6 +2233,8 @@ ieee80211_node_leave_11g(struct ieee8021
IEEE80211_NOTE(vap, IEEE80211_MSG_ASSOC, ni,
"non-ERP station leaves, count now %d", ic->ic_nonerpsta);
if (ic->ic_nonerpsta == 0) {
@@ -55,7 +55,7 @@
IEEE80211_DPRINTF(vap, IEEE80211_MSG_ASSOC,
"%s: disable use of protection\n", __func__);
ic->ic_flags &= ~IEEE80211_F_USEPROT;
-@@ -2240,7 +2246,9 @@
+@@ -2240,7 +2246,9 @@ ieee80211_node_leave_11g(struct ieee8021
ic->ic_flags |= IEEE80211_F_SHPREAMBLE;
ic->ic_flags &= ~IEEE80211_F_USEBARKER;
}