]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
staging: r8188eu: remove debug code to bypass LC calibration
authorMartin Kaiser <martin@kaiser.cx>
Sun, 6 Feb 2022 16:17:59 +0000 (17:17 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Feb 2022 09:29:02 +0000 (10:29 +0100)
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>
drivers/staging/r8188eu/hal/HalPhyRf_8188e.c

index 27cac9775a90d96883ec20a1ae4e8ddba12cfeb0..0c2dbef591972b80b51aa436e92b35e47aa8f7e1 100644 (file)
@@ -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;