X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=net%2Fmac80211%2Frate.h;h=065a96190e32a28409dda91110d929f9690c2f64;hb=aa86f26bd81a46985f1b32e513638d1c36cf3104;hp=b6108bca96d4818d9beb23d381986274446ce282;hpb=322aafa6645a48c3b7837ca7385f126ab78127fd;p=linux-2.6-block.git diff --git a/net/mac80211/rate.h b/net/mac80211/rate.h index b6108bca96d4..065a96190e32 100644 --- a/net/mac80211/rate.h +++ b/net/mac80211/rate.h @@ -66,7 +66,8 @@ static inline void rate_control_rate_init(struct sta_info *sta) static inline void rate_control_rate_update(struct ieee80211_local *local, struct ieee80211_supported_band *sband, - struct sta_info *sta, u32 changed) + struct sta_info *sta, u32 changed, + enum nl80211_channel_type oper_chan_type) { struct rate_control_ref *ref = local->rate_ctrl; struct ieee80211_sta *ista = &sta->sta; @@ -74,7 +75,7 @@ static inline void rate_control_rate_update(struct ieee80211_local *local, if (ref && ref->ops->rate_update) ref->ops->rate_update(ref->priv, sband, ista, - priv_sta, changed); + priv_sta, changed, oper_chan_type); } static inline void *rate_control_alloc_sta(struct rate_control_ref *ref,