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
부모 b7e3500881
커밋 323ce79a9c
9개의 변경된 파일18개의 추가작업 그리고 18개의 파일을 삭제

파일 보기

@@ -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