summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/rtlwifi/rtl8192ce
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2014-12-18 12:05:40 +0300
committerKalle Valo <kvalo@codeaurora.org>2014-12-24 19:34:29 +0300
commitfd3cb22ad87fd53eb47dc64fd0cafd665d4124a1 (patch)
tree5a07aa8ff9aa82abbc11d7469ddf58f3e9df1879 /drivers/net/wireless/rtlwifi/rtl8192ce
parenta160ba06c1bde5e0609f7ac475a9650224337933 (diff)
downloadlinux-fd3cb22ad87fd53eb47dc64fd0cafd665d4124a1.tar.xz
rtlwifi: rtl8821ae: Switch to use common rate control routine
With this change, all of the drivers now use the common routine. As this driver has VHT capability, an additional parameter is needed, thus all the drivers had to be modified. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/rtlwifi/rtl8192ce')
-rw-r--r--drivers/net/wireless/rtlwifi/rtl8192ce/trx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rtlwifi/rtl8192ce/trx.c b/drivers/net/wireless/rtlwifi/rtl8192ce/trx.c
index 685faea111af..84ddd4d07a1d 100644
--- a/drivers/net/wireless/rtlwifi/rtl8192ce/trx.c
+++ b/drivers/net/wireless/rtlwifi/rtl8192ce/trx.c
@@ -401,7 +401,7 @@ bool rtl92ce_rx_query_desc(struct ieee80211_hw *hw,
* Notice: this is diff with windows define
*/
rx_status->rate_idx = rtlwifi_rate_mapping(hw, stats->is_ht,
- stats->rate);
+ false, stats->rate);
rx_status->mactime = stats->timestamp_low;
if (phystatus) {