-@@ -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);
--
-+ ni->ni_rates = vap->iv_bss->ni_rates;
- if (ic->ic_newassoc != NULL)
- ic->ic_newassoc(ni, 1);
- /* XXX not right for 802.1x/WPA */