mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 12:57:06 +09:00
staging: r8188eu: remove debug code to bypass LC calibration
Remove a check before the LC calibration that is always false. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Link: https://lore.kernel.org/r/20220206161809.423031-5-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
8a1cf651d6
commit
fa6ffa4a75
@@ -895,15 +895,10 @@ void PHY_IQCalibrate_8188E(struct adapter *adapt, bool recovery)
|
||||
|
||||
void PHY_LCCalibrate_8188E(struct adapter *adapt)
|
||||
{
|
||||
bool singletone = false, carrier_sup = false;
|
||||
u32 timeout = 2000, timecount = 0;
|
||||
struct hal_data_8188e *pHalData = &adapt->haldata;
|
||||
struct odm_dm_struct *dm_odm = &pHalData->odmpriv;
|
||||
|
||||
/* 20120213<Kordan> Turn on when continuous Tx to pass lab testing. (required by Edlu) */
|
||||
if (singletone || carrier_sup)
|
||||
return;
|
||||
|
||||
while (*dm_odm->pbScanInProcess && timecount < timeout) {
|
||||
mdelay(50);
|
||||
timecount += 50;
|
||||
|
||||
Reference in New Issue
Block a user