From 896df773a98fa0934ebe28869200154a05c494d1 Mon Sep 17 00:00:00 2001 From: hwg Date: Tue, 30 Oct 2012 17:57:06 +0800 Subject: [PATCH] wifi: disable wifi power then enable in first open --- arch/arm/mach-rk2928/board-rk2928-sdk-sdmmc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-rk2928/board-rk2928-sdk-sdmmc.c b/arch/arm/mach-rk2928/board-rk2928-sdk-sdmmc.c index 16b6582a73e5..aeac6fe3c112 100755 --- a/arch/arm/mach-rk2928/board-rk2928-sdk-sdmmc.c +++ b/arch/arm/mach-rk2928/board-rk2928-sdk-sdmmc.c @@ -376,10 +376,10 @@ int rk29sdk_wifi_power(int on) { pr_info("%s: %d\n", __func__, on); if (on){ - /*if(usbwifi_power_status == 1) { + if(usbwifi_power_status == 1) { rkusb_wifi_power(0); mdelay(50); - }*/ + } rkusb_wifi_power(1); usbwifi_power_status = 1; pr_info("wifi turn on power\n"); -- 2.34.1