mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2025-12-10 00:04:17 +00:00
Remove wrapper routine rtw_msleep_os()
The effect of this macro is to call msleep(). Remove the wrapper. Link: https://lore.kernel.org/r/20210805192644.15978-2-Larry.Finger@lwfinger.net
This commit is contained in:
committed by
Carlos Garcés
parent
1fcfef2e07
commit
fdbea81f08
@@ -930,7 +930,7 @@ phy_SpurCalibration_8192E(
|
||||
phy_set_bb_reg(Adapter, rFPGA0_TxInfo, bMaskByte0, 0x3);
|
||||
phy_set_bb_reg(Adapter, rFPGA0_PSDFunction, bMaskDWord, 0xfccd);
|
||||
phy_set_bb_reg(Adapter, rFPGA0_PSDFunction, bMaskDWord, 0x40fccd);
|
||||
/* rtw_msleep_os(30); */
|
||||
/* msleep(30); */
|
||||
rtw_mdelay_os(30);
|
||||
PSDReport = phy_query_bb_reg(Adapter, rFPGA0_PSDReport, bMaskDWord);
|
||||
/* RTW_INFO(" Path A== PSDReport = 0x%x (%d)\n",PSDReport,PSDReport); */
|
||||
@@ -945,7 +945,7 @@ phy_SpurCalibration_8192E(
|
||||
phy_set_bb_reg(Adapter, rFPGA0_TxInfo, bMaskByte0, 0x13);
|
||||
phy_set_bb_reg(Adapter, rFPGA0_PSDFunction, bMaskDWord, 0xfccd);
|
||||
phy_set_bb_reg(Adapter, rFPGA0_PSDFunction, bMaskDWord, 0x40fccd);
|
||||
/* rtw_msleep_os(30); */
|
||||
/* msleep(30); */
|
||||
rtw_mdelay_os(30);
|
||||
PSDReport = phy_query_bb_reg(Adapter, rFPGA0_PSDReport, bMaskDWord);
|
||||
/* RTW_INFO(" Path B== PSDReport = 0x%x (%d)\n",PSDReport,PSDReport); */
|
||||
|
||||
Reference in New Issue
Block a user