Revert "wifi: fix wifi close issue"
[GitHub/LineageOS/G12/android_hardware_amlogic_kernel-modules_dhd-driver.git] / bcmdhd.1.579.77.41.1.cn / dhd_gpio.c
index 51ea3f6e1fd37eb5eed68f4d01300696811931ad..525a4b91ecaaa3c714c18f05d6bdb46fd9335e06 100644 (file)
@@ -112,8 +112,8 @@ dhd_wlan_set_power(int on
                        }
                }
 #ifdef CUSTOMER_HW_AMLOGIC
-//             extern_wifi_set_enable(0);
-//             mdelay(200);
+               extern_wifi_set_enable(0);
+               mdelay(200);
 #endif
        }
 
@@ -335,10 +335,9 @@ int dhd_wlan_init_gpio(void)
 
        dhd_wlan_resources[0].start = dhd_wlan_resources[0].end = host_oob_irq;
        dhd_wlan_resources[0].flags = host_oob_irq_flags;
-       printf("%s: WL_HOST_WAKE=%d, oob_irq=%d, oob_irq_flags=0x%x\n", __FUNCTION__,
-               gpio_wl_host_wake, host_oob_irq, host_oob_irq_flags);
+       printf("%s: WL_REG_ON=%d, WL_HOST_WAKE=%d\n", __FUNCTION__, gpio_wl_reg_on, gpio_wl_host_wake);
+       printf("%s: oob_irq=%d, oob_irq_flags=0x%x\n", __FUNCTION__, host_oob_irq, host_oob_irq_flags);
 #endif /* CUSTOMER_OOB */
-       printf("%s: WL_REG_ON=%d\n", __FUNCTION__, gpio_wl_reg_on);
 
        return 0;
 }