X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/d3393fc512d5e29aa1a609e476e850bfcf23a3ba..ae1f46d43dfb8e013d29aff091b7261a8a420367:/package/madwifi/patches/312-erpupdate.patch diff --git a/package/madwifi/patches/312-erpupdate.patch b/package/madwifi/patches/312-erpupdate.patch index 162e2c36e..b4befba5c 100644 --- a/package/madwifi/patches/312-erpupdate.patch +++ b/package/madwifi/patches/312-erpupdate.patch @@ -1,7 +1,5 @@ -Index: madwifi-trunk-r3280/net80211/ieee80211_beacon.c -=================================================================== ---- madwifi-trunk-r3280.orig/net80211/ieee80211_beacon.c 2008-01-28 17:27:08.000000000 +0100 -+++ madwifi-trunk-r3280/net80211/ieee80211_beacon.c 2008-01-28 17:32:30.587778482 +0100 +--- a/net80211/ieee80211_beacon.c ++++ b/net80211/ieee80211_beacon.c @@ -542,10 +542,10 @@ vap->iv_flags &= ~IEEE80211_F_XRUPDATE; } @@ -15,11 +13,9 @@ Index: madwifi-trunk-r3280/net80211/ieee80211_beacon.c } } /* if it is a mode change beacon for dynamic turbo case */ -Index: madwifi-trunk-r3280/net80211/ieee80211_input.c -=================================================================== ---- madwifi-trunk-r3280.orig/net80211/ieee80211_input.c 2008-01-28 17:30:33.905937066 +0100 -+++ madwifi-trunk-r3280/net80211/ieee80211_input.c 2008-01-28 17:31:42.836941957 +0100 -@@ -3423,9 +3423,12 @@ +--- a/net80211/ieee80211_input.c ++++ b/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))) && !(ic->ic_flags & IEEE80211_F_USEPROT)) { @@ -33,11 +29,9 @@ Index: madwifi-trunk-r3280/net80211/ieee80211_input.c } } -Index: madwifi-trunk-r3280/net80211/ieee80211_node.c -=================================================================== ---- madwifi-trunk-r3280.orig/net80211/ieee80211_node.c 2008-01-28 17:30:34.525972400 +0100 -+++ madwifi-trunk-r3280/net80211/ieee80211_node.c 2008-01-28 17:31:42.844938410 +0100 -@@ -2021,8 +2021,12 @@ +--- a/net80211/ieee80211_node.c ++++ b/net80211/ieee80211_node.c +@@ -2025,8 +2025,12 @@ } /* Update ERP element if this is first non ERP station */ @@ -52,7 +46,7 @@ Index: madwifi-trunk-r3280/net80211/ieee80211_node.c } else ni->ni_flags |= IEEE80211_NODE_ERP; } -@@ -2225,6 +2229,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 +55,7 @@ Index: madwifi-trunk-r3280/net80211/ieee80211_node.c IEEE80211_DPRINTF(vap, IEEE80211_MSG_ASSOC, "%s: disable use of protection\n", __func__); ic->ic_flags &= ~IEEE80211_F_USEPROT; -@@ -2236,7 +2242,9 @@ +@@ -2240,7 +2246,9 @@ ic->ic_flags |= IEEE80211_F_SHPREAMBLE; ic->ic_flags &= ~IEEE80211_F_USEBARKER; }