From: Aaron Kling Date: Sat, 3 Jul 2021 03:43:52 +0000 (-0500) Subject: Enable wifi on insmod X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b41881ecc5ae57bfed1794593a0d9996bccf7ddb;p=GitHub%2FLineageOS%2FG12%2Fandroid_hardware_amlogic_kernel-modules_rtl8822cs.git Enable wifi on insmod --- diff --git a/rtl88x2CS/platform/platform_aml_s905_sdio.c b/rtl88x2CS/platform/platform_aml_s905_sdio.c index 334ca03..e93b0a1 100644 --- a/rtl88x2CS/platform/platform_aml_s905_sdio.c +++ b/rtl88x2CS/platform/platform_aml_s905_sdio.c @@ -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; }