madwifi: remove an unimportant part of the ibss node handling fix, which led to a regression in ap-to-ap wds operation

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17576 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Felix Fietkau 2009-09-14 10:40:23 +00:00
parent 3e9d1d75c1
commit 5f1c1dc49d
2 changed files with 1 additions and 12 deletions

View File

@ -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 */

View File

@ -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
}