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:
committed by
John W. Linville
parent
b7e3500881
commit
323ce79a9c
@@ -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) {
|
||||
|
Reference in New Issue
Block a user