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:
@@ -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
|
||||
|
Reference in New Issue
Block a user