From: Simon Wunderlich Date: Tue, 11 Jun 2013 08:44:40 +0000 (+0200) Subject: mac80211: Fix rate control mask matching call X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=795d855d56c6d172f50a974f603ba923ac93ee76;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git mac80211: Fix rate control mask matching call The order of parameters was mixed up, introduced in commit "mac80211: improve the rate control API" Cc: Felix Fietkau Signed-off-by: Simon Wunderlich Signed-off-by: Mathias Kretschmer Signed-off-by: Johannes Berg --- diff --git a/net/mac80211/rate.c b/net/mac80211/rate.c index d3f414fe67e0..a02bef35b134 100644 --- a/net/mac80211/rate.c +++ b/net/mac80211/rate.c @@ -615,7 +615,7 @@ static void rate_control_apply_mask(struct ieee80211_sub_if_data *sdata, if (rates[i].idx < 0) break; - rate_idx_match_mask(&rates[i], sband, mask, chan_width, + rate_idx_match_mask(&rates[i], sband, chan_width, mask, mcs_mask); } }