diff options
author | John W. Linville <linville@tuxdriver.com> | 2010-03-16 15:02:35 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-03-16 15:05:23 -0400 |
commit | 819386dfc67e770b4a0b59983f7948f8ddaa357e (patch) | |
tree | 9fa7a7944abd3a693a467a6d9c37908d10e48dae /net/mac80211 | |
parent | bf18723d50206a0b485e438f14c22faf91a3908f (diff) |
Revert "mac80211: fix rates setup on IBSS merge"
I accidentally merged an incomplete version of the patch...
This reverts commit b4d59a9317e41faec3d0b6a03f0454d1e8abb710.
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211')
-rw-r--r-- | net/mac80211/ibss.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/mac80211/ibss.c b/net/mac80211/ibss.c index b840d9072de9..f3e942486749 100644 --- a/net/mac80211/ibss.c +++ b/net/mac80211/ibss.c | |||
@@ -276,8 +276,6 @@ static void ieee80211_rx_bss_info(struct ieee80211_sub_if_data *sdata, | |||
276 | (unsigned long long) sta->sta.supp_rates[band]); | 276 | (unsigned long long) sta->sta.supp_rates[band]); |
277 | #endif | 277 | #endif |
278 | rcu_read_unlock(); | 278 | rcu_read_unlock(); |
279 | |||
280 | /* FIXME: update rate control */ | ||
281 | } else { | 279 | } else { |
282 | rcu_read_unlock(); | 280 | rcu_read_unlock(); |
283 | ieee80211_ibss_add_sta(sdata, mgmt->bssid, mgmt->sa, | 281 | ieee80211_ibss_add_sta(sdata, mgmt->bssid, mgmt->sa, |
@@ -372,7 +370,6 @@ static void ieee80211_rx_bss_info(struct ieee80211_sub_if_data *sdata, | |||
372 | sdata->name, mgmt->bssid); | 370 | sdata->name, mgmt->bssid); |
373 | #endif | 371 | #endif |
374 | ieee80211_sta_join_ibss(sdata, bss); | 372 | ieee80211_sta_join_ibss(sdata, bss); |
375 | supp_rates = ieee80211_sta_get_rates(local, elems, band); | ||
376 | ieee80211_ibss_add_sta(sdata, mgmt->bssid, mgmt->sa, | 373 | ieee80211_ibss_add_sta(sdata, mgmt->bssid, mgmt->sa, |
377 | supp_rates, GFP_KERNEL); | 374 | supp_rates, GFP_KERNEL); |
378 | } | 375 | } |