rtlwifi: rtl8192cu: Convert to use the new rate-mapping routine in rtlwifi
This patch also removes the now unused code from rtl8192ce/def.h. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Cc: Chaoming Li <chaoming_li@realsil.com.cn> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
78851b66b1
commit
2b67e88f64
@@ -892,8 +892,8 @@ static void _rtl92c_query_rxphystatus(struct ieee80211_hw *hw,
|
||||
pstats->rxpower = rx_pwr_all;
|
||||
pstats->recvsignalpower = rx_pwr_all;
|
||||
if (GET_RX_DESC_RX_MCS(pdesc) &&
|
||||
GET_RX_DESC_RX_MCS(pdesc) >= DESC92C_RATEMCS8 &&
|
||||
GET_RX_DESC_RX_MCS(pdesc) <= DESC92C_RATEMCS15)
|
||||
GET_RX_DESC_RX_MCS(pdesc) >= DESC92_RATEMCS8 &&
|
||||
GET_RX_DESC_RX_MCS(pdesc) <= DESC92_RATEMCS15)
|
||||
max_spatial_stream = 2;
|
||||
else
|
||||
max_spatial_stream = 1;
|
||||
|
Reference in New Issue
Block a user