mac80211: share sta->supp_rates

As more preparation for a saner rate control algorithm API,
share the supported rates bitmap in the public API.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
Johannes Berg
2008-09-11 02:45:11 +02:00
committed by John W. Linville
parent b7e3500881
commit 323ce79a9c
9 changed files with 18 additions and 18 deletions

View File

@@ -667,7 +667,7 @@ static void sta_apply_parameters(struct ieee80211_local *local,
rates |= BIT(j);
}
}
sta->supp_rates[local->oper_channel->band] = rates;
sta->sta.supp_rates[local->oper_channel->band] = rates;
}
if (params->ht_capa) {