Enable wifi on insmod lineage-18.1 lineage-19.1
authorAaron Kling <webgeek1234@gmail.com>
Sat, 3 Jul 2021 03:43:52 +0000 (22:43 -0500)
committerAaron Kling <webgeek1234@gmail.com>
Sun, 18 Jul 2021 20:13:54 +0000 (15:13 -0500)
rtl88x2CS/platform/platform_aml_s905_sdio.c

index 334ca03c9801f716e136085b68c765e9c0c9a35d..e93b0a15baffcc03310d06c0a495a8c1f76692cb 100644 (file)
@@ -34,14 +34,12 @@ int platform_wifi_power_on(void)
        }
 #endif /* kernel < 3.14.0 */
 
-#if 0 /* Seems redundancy? Already done before insert driver */
        pr_info("######%s:\n", __func__);
        extern_wifi_set_enable(0);
        msleep(500);
        extern_wifi_set_enable(1);
        msleep(500);
        sdio_reinit();
-#endif
 
        return ret;
 }