diff options
author | Johannes Berg | 2008-09-11 02:45:11 +0200 |
---|---|---|
committer | John W. Linville | 2008-09-15 16:48:24 -0400 |
commit | 323ce79a9cdbf838ea577677b1ddace8e0b4d4c6 (patch) | |
tree | f14a67ec7927865dc1537b2c3a4fb20c0325f517 /net/mac80211/rate.h | |
parent | b7e35008815a1c39123f4dd53b430788e2e18da4 (diff) |
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>
Diffstat (limited to 'net/mac80211/rate.h')
-rw-r--r-- | net/mac80211/rate.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/rate.h b/net/mac80211/rate.h index ede7ab56f65b..5f18c27eb900 100644 --- a/net/mac80211/rate.h +++ b/net/mac80211/rate.h @@ -134,7 +134,7 @@ static inline int rate_supported(struct sta_info *sta, enum ieee80211_band band, int index) { - return (sta == NULL || sta->supp_rates[band] & BIT(index)); + return (sta == NULL || sta->sta.supp_rates[band] & BIT(index)); } static inline s8 |