diff options
author | Ashok Nagarajan <ashok@cozybit.com> | 2012-04-03 00:21:21 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-04-11 16:23:47 -0400 |
commit | 9ebb61a23d90703344fc609fbee8da67b1e7456c (patch) | |
tree | 021483e65ed424166b539d9a26d92d415c842d86 /net/mac80211/ibss.c | |
parent | 657c3e0c4147bb3d3fdd338e32b83b968b0f9d02 (diff) |
mac80211: Modify sta_get_rates to give basic rates
Signed-off-by: Ashok Nagarajan <ashok@cozybit.com>
Signed-off-by: Thomas Pedersen <thomas@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/ibss.c')
-rw-r--r-- | net/mac80211/ibss.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/ibss.c b/net/mac80211/ibss.c index e910449dead0..49a207980338 100644 --- a/net/mac80211/ibss.c +++ b/net/mac80211/ibss.c | |||
@@ -408,7 +408,7 @@ static void ieee80211_rx_bss_info(struct ieee80211_sub_if_data *sdata, | |||
408 | 408 | ||
409 | if (elems->supp_rates) { | 409 | if (elems->supp_rates) { |
410 | supp_rates = ieee80211_sta_get_rates(local, elems, | 410 | supp_rates = ieee80211_sta_get_rates(local, elems, |
411 | band); | 411 | band, NULL); |
412 | if (sta) { | 412 | if (sta) { |
413 | u32 prev_rates; | 413 | u32 prev_rates; |
414 | 414 | ||
@@ -558,7 +558,7 @@ static void ieee80211_rx_bss_info(struct ieee80211_sub_if_data *sdata, | |||
558 | sdata->name, mgmt->bssid); | 558 | sdata->name, mgmt->bssid); |
559 | #endif | 559 | #endif |
560 | ieee80211_sta_join_ibss(sdata, bss); | 560 | ieee80211_sta_join_ibss(sdata, bss); |
561 | supp_rates = ieee80211_sta_get_rates(local, elems, band); | 561 | supp_rates = ieee80211_sta_get_rates(local, elems, band, NULL); |
562 | ieee80211_ibss_add_sta(sdata, mgmt->bssid, mgmt->sa, | 562 | ieee80211_ibss_add_sta(sdata, mgmt->bssid, mgmt->sa, |
563 | supp_rates, true); | 563 | supp_rates, true); |
564 | rcu_read_unlock(); | 564 | rcu_read_unlock(); |