summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.de>2013-06-11 10:44:40 +0200
committerJohannes Berg <johannes.berg@intel.com>2013-06-12 09:12:43 +0200
commit795d855d56c6d172f50a974f603ba923ac93ee76 (patch)
tree8b15bfee01a804f81c16ab6a9b1ebb4e7f4e5f04
parenta6b368f6caec2c897a2ac98c5c359cab9c35dea5 (diff)
downloadop-kernel-dev-795d855d56c6d172f50a974f603ba923ac93ee76.zip
op-kernel-dev-795d855d56c6d172f50a974f603ba923ac93ee76.tar.gz
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 <nbd@openwrt.org> Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de> Signed-off-by: Mathias Kretschmer <mathias.kretschmer@fokus.fraunhofer.de> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
-rw-r--r--net/mac80211/rate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/rate.c b/net/mac80211/rate.c
index d3f414f..a02bef3 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);
}
}
OpenPOWER on IntegriCloud