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:
40e78d6
)
wifi: disable wifi power then enable in first open
author
hwg
<hwg@rock-chips.com>
Tue, 30 Oct 2012 09:57:06 +0000
(17:57 +0800)
committer
hwg
<hwg@rock-chips.com>
Tue, 30 Oct 2012 09:57:06 +0000
(17:57 +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 16b6582a73e584c54674d265c155c3c0d0bc3e3b..aeac6fe3c1128fb03e273c1cfd17985dbb6deb15 100755
(executable)
--- 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");