From: Felix Fietkau Date: Mon, 14 Sep 2009 10:40:23 +0000 (+0000) Subject: madwifi: remove an unimportant part of the ibss node handling fix, which led to a... X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=84c01891da05d326e77e2e0a31f100f1360be47d;p=librecmc%2Flibrecmc.git madwifi: remove an unimportant part of the ibss node handling fix, which led to a regression in ap-to-ap wds operation SVN-Revision: 17576 --- diff --git a/package/madwifi/patches/441-fix_ibss_node_handling.patch b/package/madwifi/patches/441-fix_ibss_node_handling.patch index 5035ae401b..5894d68d52 100644 --- a/package/madwifi/patches/441-fix_ibss_node_handling.patch +++ b/package/madwifi/patches/441-fix_ibss_node_handling.patch @@ -89,14 +89,3 @@ return ieee80211_sta_join1(ieee80211_ref_node(ni)); } EXPORT_SYMBOL(ieee80211_ibss_merge); -@@ -1378,9 +1380,7 @@ ieee80211_add_neighbor(struct ieee80211v - if (sp->ath != NULL) - ieee80211_saveath(ni, sp->ath); - -- /* NB: must be after ni_chan is setup */ -- ieee80211_setup_rates(ni, sp->rates, sp->xrates, IEEE80211_F_DOSORT); -- -+ memcpy(&ni->ni_rates, &vap->iv_bss->ni_rates, sizeof(ni->ni_rates)); - if (ic->ic_newassoc != NULL) - ic->ic_newassoc(ni, 1); - /* XXX not right for 802.1x/WPA */ diff --git a/package/madwifi/patches/443-tx_drop_counter.patch b/package/madwifi/patches/443-tx_drop_counter.patch index ce8a809266..30630ae43c 100644 --- a/package/madwifi/patches/443-tx_drop_counter.patch +++ b/package/madwifi/patches/443-tx_drop_counter.patch @@ -1,6 +1,6 @@ --- a/net80211/ieee80211_node.c +++ b/net80211/ieee80211_node.c -@@ -1590,10 +1590,6 @@ found: +@@ -1592,10 +1592,6 @@ found: ieee80211_ref_node(ni); #endif }