projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f90c8e
)
usb wifi: disable wifi power then enable in first open
author
hwg
<hwg@rock-chips.com>
Tue, 6 Nov 2012 12:56:54 +0000
(20:56 +0800)
committer
hwg
<hwg@rock-chips.com>
Tue, 6 Nov 2012 12:56:54 +0000
(20:56 +0800)
arch/arm/mach-rk2928/board-rk2928-sdk-sdmmc.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk2928/board-rk2928-sdk-sdmmc.c
b/arch/arm/mach-rk2928/board-rk2928-sdk-sdmmc.c
index 33f5f5c7103e82035a160a1fcbc7d46d415496c0..fa7f3ab637183601bbdd386d3699417e2f0a241c 100755
(executable)
--- a/
arch/arm/mach-rk2928/board-rk2928-sdk-sdmmc.c
+++ b/
arch/arm/mach-rk2928/board-rk2928-sdk-sdmmc.c
@@
-428,10
+428,10
@@
int rk29sdk_wifi_power(int on)
gpio_set_value(RK30SDK_WIFI_GPIO_POWER_N, RK30SDK_WIFI_GPIO_POWER_ENABLE_VALUE);
mdelay(100);
#else
-
/*
if(usbwifi_power_status == 1) {
+ if(usbwifi_power_status == 1) {
rkusb_wifi_power(0);
mdelay(50);
- }
*/
+ }
rkusb_wifi_power(1);
#endif
usbwifi_power_status = 1;