From b41881ecc5ae57bfed1794593a0d9996bccf7ddb Mon Sep 17 00:00:00 2001 From: Aaron Kling Date: Fri, 2 Jul 2021 22:43:52 -0500 Subject: [PATCH] Enable wifi on insmod --- rtl88x2CS/platform/platform_aml_s905_sdio.c | 2 -- 1 file changed, 2 deletions(-) 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; } -- 2.20.1