mac80211: Fix rate control mask matching call
authorSimon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.de>
Tue, 11 Jun 2013 08:44:40 +0000 (10:44 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 12 Jun 2013 07:12:43 +0000 (09:12 +0200)
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>
net/mac80211/rate.c

index d3f414fe67e0beb9592e87d344a6b3a5c0fed66b..a02bef35b134e28e6d5ad8d6da38c505c309e756 100644 (file)
@@ -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);
        }
 }